The Omni Group
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!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
FAQ Members List Calendar Today's Posts

 
Duplicate Action (applescript request) Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
If an applescripter would find this helpful, I would welcome a script that duplicated the selected row (next action).

For example, I might want to make minor changes in a next action.

Discuss proposal with Fred.
Discuss proposal with Jack.
Discuss proposal with Mary.

Or, I might want to check something off as complete, such as call Frank 858-9658, but since I didn't actually talk to Frank on the phone, I want to duplicate the task because I have to do it again.

Tim Wood made this applescript for omnioutliner:

tell application "OmniOutliner Professional"
set MyDoc to front document
set FirstRowID to id of first selected row of MyDoc
set FirstRow to a reference to row id FirstRowID of MyDoc
set MyRowIDs to id of every selected row of MyDoc
repeat with MyRowIndex from 1 to count of MyRowIDs -- force forward loop
set MyRowID to item MyRowIndex of MyRowIDs
duplicate row id MyRowID of MyDoc to before FirstRow
end repeat
end tell

Thanks,
Steve
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
applescript to delete duplicate tasks jamesafoster OmniFocus Extras 1 2013-04-02 07:55 AM
reference of result of duplicate command in applescript? ericscheid OmniGraffle General 1 2012-09-05 10:25 PM
can't duplicate an action from context view igrok OmniFocus 1 for Mac 8 2008-12-05 04:47 AM
Applescript Duplicate command: how to use it? Lutin OmniFocus Extras 6 2007-10-30 12:56 AM
duplicate the above row-- applescript? steve OmniOutliner 3 for Mac 2 2006-05-02 07:18 AM


All times are GMT -8. The time now is 02:08 PM.


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