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

 
omniplan applescript create milestones Thread Tools Search this Thread Display Modes
Hi all,

Could you please tell, how to create a new milestone task using AppleScript?
 
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
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript: How to create a group or subgraph? Sophie OmniGraffle General 2 2012-11-27 01:19 AM
AppleScript to create a Project inside a folder? RicardoSaporta OmniFocus 1 for Mac 10 2012-04-03 07:35 AM
Applescript to Create Repeating Tasks AgentsSka AppleScripting Omni Apps 6 2011-02-08 02:00 PM
Applescript to create Inbox Items from Adium RussBlaisdell OmniFocus Extras 1 2011-01-05 03:09 PM
MailAction.applescript doesn't create anything in OF Dalmet OmniFocus 1 for Mac 8 2007-11-18 10:19 AM


All times are GMT -8. The time now is 11:08 PM.


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