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 |
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 |
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 08:39 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.