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

 
Directly reading OF files Thread Tools Search this Thread Display Modes
I'd like to extract the current list of flagged tasks from OmniFocus. I will feed this into an app I'm working on, which will be running on a Linux box.

I was looking at the .zip file that is stored via WebDAV, and it looks like what gets stored is a file with the data, and a series of update files. So if I want to extract this, I need to go through all the files and perform the updates myself.

Is this right? Is there an easier way? Does any of the Omni framework code do this?

For right now, I will probably hack up a prototype using AppleScript to extract the data whenever my laptop is on, but that's sub-optimal.
 
Quote:
Originally Posted by gopi View Post
Is there an easier way?
Here is a post sketching a procedure for consolidating to a single zip, from which you could read the xml more simply:

http://forums.omnigroup.com/showpost...1&postcount=13

(I have to say that in the end I have retreated from processing the zips directly a couple of times, and settled for the simplicity of getting property value lists from Applescript):

tell front document
set refFlagged to a reference to (flattened tasks where (flagged is true) and (completed is false))
set {lstName, lstNote, lstDue, lstDurn} to {name, note, due date, estimated minutes} of refFlagged
end tell

Getting something like cron to run an applescript from the shell with osascript, perhaps ?

--

Last edited by RobTrew; 2010-09-12 at 11:35 PM..
 
Rob,

Thanks for the suggestions. That is what I will end up doing for now. I don't have an OS X system running as a server, so I'll need to fix that if I want to make this work when my laptop is asleep.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating new task directly in XML for WebDAV yuji OmniFocus Extras 6 2013-01-27 04:03 PM
Entering tasks directly into a project rwoods005 OmniFocus for iPad 3 2011-04-05 06:29 AM
Still way to go from Omnifocus to Gmail directly dwayneneckles OmniFocus 1 for Mac 0 2010-10-03 03:27 PM
Ditching MobileMe... Can I sync directly with my Mac??? willhains OmniFocus for iPhone 5 2008-08-01 01:31 PM
Sync via FireWire Directly DaddyCat OmniFocus 1 for Mac 2 2007-12-12 04:39 PM


All times are GMT -8. The time now is 02:10 PM.


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