I thought I saw this somewhere on this forum, but now I can't find it.... Did I imagine it?
2010-11-23, 11:22 PM
An alternative might be the following, which moves any selected task (together with its subtree) to the top of the Inbox.
tell application id "com.omnigroup.omnifocus" set oDoc to front document tell oDoc set refInbox to inbox tasks tell front document window set lstTasks to value of selected trees of content repeat with oTask in lstTasks move oTask to before beginning of refInbox end repeat end tell end tell end tell
Last edited by RobTrew; 2010-11-24 at 01:42 PM.. Reason: Moved trailling "l" back into the code :-) thanks to whpalmer4 for pointing it out.
2010-11-23, 11:39 PM
Of course, that stray 'l' character belongs on the end of the final "end tell" statement in the script...
2010-11-24, 03:06 AM
Thank you for spotting that :-)
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Return key and Inbox||Daniel Wessel||Applying OmniFocus||9||2012-05-23 12:05 PM|
|Don't want Return to create projects in Inbox||Craig||OmniFocus 1 for Mac||2||2007-12-14 09:38 AM|
|script to set window to inbox?||Craig||OmniFocus Extras||5||2007-09-19 12:14 AM|
|Return to inbox||anna||OmniFocus 1 for Mac||9||2007-09-11 01:50 PM|
|Shift + Return to enter task above current||SpiralOcean||OmniFocus 1 for Mac||0||2007-07-08 12:36 PM|