View Single Post
Here's a code-snippet for someone who asked about snagging durations from a task and throwing it into Minuteur. It's crude, but works ok for me. If you don't have growl, comment out that line...

Code:
tell application "OmniFocus"
	tell front document
		tell document window 1
			set theSelectedItems to selected trees of content
		end tell
		if ((count of theSelectedItems) = 1) then
			set selectedItem to value of item 1 of theSelectedItems
			set selectedDuration to estimated minutes of selectedItem
		end if
	end tell
end tell

tell application "Minuteur"
	StartCountdown "00" & selectedDuration & "00"
end tell

do shell script "/usr/local/bin/growlnotify OmniFocus Task focus -m 'Working on selected task for " & selectedDuration & " minutes' -p 1"
Hope this helps with some ideas...
-Allen