I thought I saw this somewhere on this forum, but now I can't find it.... Did I imagine it?
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!
|
|
FAQ | Members List | Calendar | Today's Posts | Search |
Script to return a task to the inbox | Thread Tools | Search this Thread | Display Modes |
I thought I saw this somewhere on this forum, but now I can't find it.... Did I imagine it?
Post 1
|
Member
2010-11-23, 09:20 PM
Post 2
|
Guest
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.
Code:
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.
Post 3
|
Member
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...
Post 4
|
Guest
2010-11-24, 03:06 AM
Thank you for spotting that :-)
(Amended above)
Post 5
|
Post 6
|
Hrm... The Omifocus window blinks, but nothing happens. When run from the applescript editor, the editor returns "missing value".
Any suggestions?
Post 7
|
Guest
2010-11-24, 12:55 PM
Which script are we talking about here ?
(Sandro / RobTrew)
Post 8
|
Post 9
|
Guest
2010-11-24, 01:43 PM
I've edited it slightly (above).
Might be worth trying again. (I assume that you have selected some tasks in the right hand panel when you run the script).
Post 10
|
|
Similar Threads | ||||
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 |