View Full Version : omniplan applescript create milestones
xtream
2011-10-17, 08:11 AM
Hi all,
Could you please tell, how to create a new milestone task using AppleScript?
xtream
2011-10-17, 09:24 AM
Got it myself
tell application "OmniPlan"
--using terms from "OmniPlan"
set _document to make new document
set _project to project of my _document
set _tasks to tasks of _project
repeat with i from 1 to the count of _tasks
set task type of (item i of _tasks) to milestone task
end repeat
end tell
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.