View Single Post
Hello Folks

I'm in very desperate need of a way to get OmniOutliner files to wikitext.


I found this little quick and dirty script, but it only converts to a list (the asterisk part) ignoring the heading functions:
http://michael-mccracken.net/2007/01...i-applescript/



I need to be able to adjust where the heading cuttoff is, ie:

Heading Cuttof at 0:
*outline level 1 becomes bullet level 1
**outline level 2 becomes bullet level 2
***outline level 3 becomes bullet level 3
****outline level 4 becomes bullet level 4
etc

Heading Cuttoff at 2:
=outline level 1 becomes heading level =
==outline level 2 becomes heading level 2==
*outline level 3 becomes bullet level 1
**outline level 4 becomes bullet level 2
***outline level 5 becomes bullet level 3
****outline level 6 becomes bullet level 4
etc


Heading Cuttoff at 4:
=outline level 1 becomes heading level =
==outline level 2 becomes heading level 2==
===outline level 3 becomes heading level 3===
====outline level 4 becomes heading level 4====
*outline level 5 becomes bullet level 1
**outline level 6 becomes bullet level 2
***outline level 7 becomes bullet level 3
****outline level 8 becomes bullet level 4
etc



I'm an applescript noob and don't even know where to start. Any suggestions?