The Omni Group

Go Back   The Omni Group Forums > OmniPlan > OmniPlan Extras
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
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?
  Reply With Quote
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
  Reply With Quote
Reply


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 05:08 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.