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 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Apple Script to finsh task and switch off recurrent Thread Tools Search this Thread Display Modes
Hi everybody,

I use recurrent task to work on some tasks on a daily basis (or every other day) to keep the momentum going. However, when I am really finished with it, I have to go into the inspector and switch off recurrence and then finish the task.

It would be great to have an Apple Script (or an other similar solution) that would do the same job (with just one shortcut).

Has anyone some suggestions?

Thank you for your help.

All the best,
Perhaps something along these lines:

tell application id "OFOC"
	tell front document window of front document
		tell content
			set lstTask to value of selected trees where class of its value is task or class of its value is inbox task
			repeat with oTask in lstTask
				tell oTask to set {its repetition rule, completed} to {missing value, true}
			end repeat
		end tell
	end tell
end tell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

All times are GMT -8. The time now is 08:01 AM.

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