The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniOutliner > OmniOutliner 3 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Script: Pasting from FoldingText Markdown to oo3 nesting and columns Thread Tools Search this Thread Display Modes
A lot of my workflow is in FoldingText Markdown now (hash-headers and/or tab indents, with inline @key(value) tags, child-line key : value properties or just plain @key tags for booleans.

(Either authored in FoldingText, or on my favourite machine – an inexpensive AA powered ultra-simple portable with a good keyboard http://www.neo-direct.com
Tip – remove all software from the Neo except the plain text editor, quickly upload all the text files to OS X with the free NeoManager utility via USB).

I do, however, like to use OmniOutliner's excellent column display for some things, particularly to generate column-based PDF documents.

Here is a rough working draft of a script which I am using to paste FT-style Markdown plain text into OO3, with the inline @key(value) tag pairs, and the child element key : value property pairs going to values in key-named columns (either pre-existing or created, if necessary, by the pasting script).

In addition to moving tag values to columns it also normalises the mixed nesting style of MD (hash headers and/or tab indents) into regular OO3 nesting.

(⌘⌥V for OmniOutliner 3 in my KeyBoard Maestro setup)

--

Last edited by RobTrew; 2012-12-05 at 08:37 AM.. Reason: Updated to Ver .009 Improves parsing of key/value tags
 
Updated (ver 0.04 above) to also translate MarkDown **bold** and *italic* emphases in row topics into OO3 bold and italic formats.

and ver (0.06 above) to translate MarkDown ordered list numbers into OO3 numbered heading styles.

ver 0.07 handles key : value property pairs in child lines as well as in-line @key(value) tag pairs - both are now transferred to column values for the appropriate row.

--

Last edited by RobTrew; 2012-11-28 at 08:29 AM..
 
Before and after:

(The plain text 'property lines' automatically become column entries in OO3)

  1. Plain text in FoldingText, and

  2. pasted (with script) into OO3.
Attached Thumbnails
Click image for larger version

Name:	DisplayedInFoldingText.png
Views:	5592
Size:	46.0 KB
ID:	2658   Click image for larger version

Name:	PastedIntoOO3.png
Views:	5567
Size:	39.4 KB
ID:	2659  
 
PS on the matter of originating outlines and column entries in plain text (Markdown) format, for subsequent work in OmniOutliner, I came across this report of a good plain text authoring setup:

[iPad with Neo as keyboard](http://vimeo.com/11754480)

It turns out that the efficiency of the system can be improved still further by simply removing and discarding the iPad - this additional step has become even more important since a change in iPad system software rendered it inoperable for this purpose. Fortunately, the Neo itself continues to work very well, and, unlike the iPad, has a a decent keyboard, a standard built-in USB connector, and the ability to transfer text files directly and simply to the OS X machine.
 
Updated to improve parsing of inline @key(value) tags (for their conversion to oo3 column entries)

--

Last edited by RobTrew; 2012-12-05 at 09:17 AM..
 
Very good stuff, thanks Rob.

Would you be able to offer us a free-form description of your workflow(s) involving FoldingText? For some time I've been trying to streamline my toolbox, move away from large software packages, and rely on plaintext as possible. Judging from your GitHub repos and your tweets, I suspect you're exploring FT-based workflows for todo list/GTD management, is that right?

Many thanks indeed.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script: FoldingText to OmniFocus RobTrew OmniFocus Extras 47 2013-01-06 08:03 AM
Script: Copy selected rows as tab-indented (Markdown) plain text outlines RobTrew OmniOutliner 3 for Mac 2 2012-11-29 03:19 AM
Draft Script: Save as FoldingText RobTrew OmniOutliner 3 for Mac 2 2012-10-31 02:14 PM
Script: Export from a FoldingText outline to OmniOutliner RobTrew OmniOutliner 3 for Mac 0 2012-10-04 01:46 PM
Script: Export from FoldingText outline to OmniGraffle diagram RobTrew OmniGraffle General 0 2012-10-04 01:44 PM


All times are GMT -8. The time now is 01:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.