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

 
A faster export of all active OmniFocus task to OPML Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
There has been some recent discussion of exporting all active OmniFocus tasks to OPML for review in mind map software.

Another script on this forum (originally intended for exports of GUI-selected projects and tasks) can more or less be cajoled into exporting the whole set of active data, but takes several minutes to do this through the Applescript interface.

Here is a script which takes a different approach, using Python to read the Sqlite cache.

Note: requires OS X 10.7 and above (Python 2.7)

The export now only takes a second or two on my system, but in the current version only exports (by default) the names and notes of all the active folders, projects and tasks (i.e. it's currently skipping dates, contexts etc).

If you edit the following line at the top of the script:

Code:
property pIncludeLinks : 0 -- 0 to omit  links to OF tasks, 1 to include them
You can request the script to include links of the form:

Code:
omnifocus:///task/o49Lh0LPVjA
On the iPad, iThoughtsHD will then link each node to the corresponding task in OmniFocus for iPad. Holding a finger down on the iThoughts node for a second or two will enable you to jump straight to the relevant task in iPad OmniFocus.

Why not include export of links as a default ?

Well, including links will mean that every iThoughtsHD node has a tiny green globe at the corner (haven't found a way of switching this off :-) and will add few seconds both to the initial export from Desktop OmniFocus to OPML, and to the time it takes iThoughtsHD to read the OPML in.

A pre-alpha draft. Suggestions and bug reports welcome.

--
Attached Files
File Type: zip ActiveOF2OPML-007b.scptd.zip (15.7 KB, 1820 views)
File Type: zip ActiveOF2OPML-011.scptd.zip (24.1 KB, 1939 views)

Last edited by RobTrew; 2012-10-09 at 11:08 PM.. Reason: ver 0.011 translates message:%3C to message://%3C
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Request: Faster Task Entry poritsky OmniFocus 2 for Mac (Private Test) 6 2013-04-24 12:02 AM
Batch Export OO to OPML or Text adgirard OmniOutliner 3 for Mac 0 2012-10-04 11:53 AM
Numbered rows in OPML export (perhaps via Applescript?) mjknight OmniOutliner 3 for Mac 0 2011-12-16 07:15 AM
Export to OPML with notes ben_worthington OmniOutliner 3 for Mac 1 2009-01-02 01:06 PM
OPML export doesn't include Topic? corris OmniOutliner 3 for Mac 0 2008-01-29 07:37 AM


All times are GMT -8. The time now is 05:24 AM.


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