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

Using ScriptingBridge to iterate tasks in the right pane Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next

I want to export data from the right pane in OF, using shell scripting and Python.

So far I have:

#!/usr/bin/env python
from ScriptingBridge import *

def process_tree(tree):
for el in tree.trees():

of = SBApplication.applicationWithBundleIdentifier_("co m.omnigroup.OmniFocus")
doc = of.defaultDocument()
tree = doc.documentWindows()[0].content()

But I can't find a way to get the actual task from a tree element. does work, but other properties (deadline, note) doesn't.

What is the correct syntax?

Thanks for any help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
switching from context or project pane to actions pane adept OmniFocus 1 for Mac 1 2011-05-05 06:47 AM
How to show "parent" tasks [A: Data pane of OF preferences in v1.9 or later.] msurtees OmniFocus 1 for Mac 4 2011-04-19 04:53 PM
How do I iterate over ALL shapes in a canvas? OmniGraffle Extras 1 2007-08-20 10:59 AM
Notes in Pane commensal OmniFocus 1 for Mac 0 2007-07-16 01:09 PM
Tabs in a pane climbingtractor OmniWeb Feature Requests 2 2006-07-13 10:35 PM

All times are GMT -8. The time now is 01:49 AM.

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