The Omni Group Forums

The Omni Group Forums (
-   OmniFocus Extras (
-   -   AppleScript Sample Code? (

jasonb 2008-05-27 09:59 PM

AppleScript Sample Code?
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.


RobTrew 2008-05-27 11:58 PM

You should be able to adapt the logic of [URL=""]this posting[/URL]

jasonb 2008-05-31 10:17 AM

1 Attachment(s)
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.


nanovation 2008-08-09 10:01 PM

This is great. Thanks Jason. I'll play around with it and post any improvements I make.

nanovation 2008-08-11 10:04 PM

Just wanted to let you know it worked perfectly for me. Thanks :)

All times are GMT -8. The time now is 01:16 PM.

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