Hey,
Can’t figure out what am I doing wrong.
I want to have a script where a selected task(s) will be assigned 30 minutes of estimated time:
tell application "OmniFocus"
tell content of first document window of front document
set SelectedTasks to value of (selected trees where class of its value is not item and class of its value is not folder)
set estimated minutes of SelectedTasks to "30"
end tell
end tell