Created
October 21, 2011 03:42
-
-
Save garybernhardt/1303043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set conf_name to text returned of ¬ | |
(display dialog ¬ | |
"Enter conference name:" with title ¬ | |
"Schedule Conference" default answer ¬ | |
"" default button 2) | |
tell application "OmniFocus" | |
tell default document | |
set newProject to make new project with properties {name:conf_name} | |
tell project conf_name | |
make new task with properties {name:"Schedule " & conf_name & " in calendar"} | |
make new task with properties {name:"Register for " & conf_name} | |
make new task with properties {name:"Book flight for " & conf_name} | |
make new task with properties {name:"Book hotel for " & conf_name} | |
make new task with properties {name:"Add " & conf_name & " flight and hotel to Tripit"} | |
make new task with properties {name:"Prepare talk for " & conf_name} | |
make new task with properties {name:"Prerecord DAS screencasts for " & conf_name} | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment