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 > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Script: FoldingText to OmniFocus Thread Tools Search this Thread Display Modes
Originally Posted by RobTrew View Post
If you don't have OmniGraffle on your system, you will need to edit the .applescript text version to comment out any functions containing references to application id "OGfl"

(i.e. ExportToOG() and DrawTree())

Once it is working, you can save an .scpt (compiled) copy.
That did it.

Mucho thank Rob! Always appreciate your scripting work.
Thanks, I'm glad it's useful.

Ver 0.09 is slightly re-structured and should now compile on systems which do not have all three of the Omni apps installed.

It's now a .scptd bundle rather than a flat file, so I haven't added an .applescript text file this time, but I'll leave the ver. 008 files in place for reference.
Ver 0.10 should now only throw up a menu if more than one of OmniFocus, OmniGraffle, and OmniOutliner are installed.
Over here, OmniGraffle doesn't come with a default template named "Standard" -- the out-of-box default is "Blank". "Standard" isn't the name of a template that ships with OG, AFAIK. If I leave pstrTemplate set to "Standard" this odd error is thrown:

OmniGraffle template "Org Chart(plain)" not found
Edit the pstrTemplate property at the top of the main script to specify a template.
Temporarily using "Org Chart(plain)"
Despite the message, OG use the "Blank" template.

All is fixed when I manually update pstrTemplate to set it to "Blank"
Thanks for spotting that.

I've just uploaded a version (011) which should fix it.
Ver 012 changes the way in which installation is tested, which seems to make exports to OO3 marginally faster.
If there was an award for OmniFocus scripting Rob would bring it home.
Hi all,

This is a great script. I just bought FoldingText and was very excited to see the existence of this script. (It is, in fact, one of the things that pushed me over the edge toward purchasing it.)

Anyway, when I run the script I get the following error:

error "The variable pTitle is not defined." number -2753 from "pTitle"
Any idea why that might be?
Sounds like the first line of the script might somehow have been lost.

I would start by downloading a fresh copy.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script: Pasting from FoldingText Markdown to oo3 nesting and columns RobTrew OmniOutliner 3 for Mac 5 2014-05-11 10:34 AM
Copy OmniFocus selection in FoldingText format RobTrew OmniFocus Extras 2 2012-12-08 04:36 AM
Draft Script: Save as FoldingText RobTrew OmniOutliner 3 for Mac 2 2012-10-31 01:14 PM
Script: Export from a FoldingText outline to OmniOutliner RobTrew OmniOutliner 3 for Mac 0 2012-10-04 12:46 PM
Script: Export from FoldingText outline to OmniGraffle diagram RobTrew OmniGraffle General 0 2012-10-04 12:44 PM

All times are GMT -8. The time now is 05:56 PM.

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