The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   AppleScript Sample Code? (http://forums.omnigroup.com/showthread.php?t=8071)

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.

Thanks,
Jason

RobTrew 2008-05-27 11:58 PM

You should be able to adapt the logic of [URL="http://forums.omnigroup.com/showpost.php?p=21656&postcount=5"]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.

Jason

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 09:13 AM.

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