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 access to tasks in inbox (http://forums.omnigroup.com/showthread.php?t=10999)

dmcg 2009-01-08 05:12 AM

Applescript access to tasks in inbox
 
So I'm sure I'm not alone in entering a quick inbox item to remember to bring a book into work tomorrow. Listing the contexts in AppleScript I'm irritated to find that even if I have set the context on an inbox item, it does not appear in that context (nor in the GUI for that matter).

Does anyone know how I can list the tasks in the inbox using AppleScript? In return, when its done, I'll post the script to pop up reminders for items in a particular context at a certain time every day.

Thanks in advance

Duncan

dmcg 2009-01-08 05:35 AM

Answering my own question for posterity:

repeat with aTask in inbox tasks of default document

does not work, but

set in_box to inbox tasks of default document
repeat with aTask in in_box

does

dmcg 2009-01-09 08:44 AM

And following up for completeness

while the GUI does not show inbox items in the contexts view, AppleScript does find them if you recurse down the contexts tree


All times are GMT -8. The time now is 04:37 AM.

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