The Omni Group Forums

The Omni Group Forums (
-   OmniPlan Extras (
-   -   omniplan applescript create milestones (

xtream 2011-10-17 08:11 AM

omniplan applescript create milestones
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

All times are GMT -8. The time now is 11:00 AM.

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