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

AppleScript Sample Code? Thread Tools Search this Thread Display Modes
Hello All,
Does anyone have sample code that would allow me to iterate through all the tasks that I have stored in OmniFocus? I would like to write some code that checks to see if a task is due today, and flags the item. This combined with launchd would let me approximate a "Do Today" list based on flagged items.

You should be able to adapt the logic of this posting
The code that I created is attached. This combined with a launchd script created with Lingon, allows me to toggle the flagged status of items due soon. This allows me to create on master "Do Today" perspective.

Please let me know if you improve upon the code, as I'm sure it is not as efficient as it could be.

Attached Files
File Type: zip Update Task (7.6 KB, 597 views)
This is great. Thanks Jason. I'll play around with it and post any improvements I make.
Just wanted to let you know it worked perfectly for me. Thanks :)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript Sample Code JBL OmniGraffle General 1 2008-08-12 12:30 AM
Sample Data files Robin OmniFocus 1 for Mac 3 2008-03-25 12:06 PM
Request: Sample Perspectives jaaaaaaaaay OmniFocus Extras 5 2007-12-12 08:32 PM
Sample Outlines - More More More! BonafideBM OmniOutliner 3 for Mac 5 2007-07-06 10:59 AM
A sample project could be helpful redlamp OmniPlan General 9 2007-05-06 03:57 PM

All times are GMT -8. The time now is 12:03 PM.

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