Created
April 30, 2011 19:36
-
-
Save garybernhardt/949922 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "Things" | |
set newProject to make new project ¬ | |
with properties {name:conf_name} | |
end tell | |
tell application "Things" | |
tell project conf_name | |
set newToDo to make new to do with properties {name:"Schedule " & conf_name & " in calendar"} | |
set newToDo to make new to do with properties {name:"Register for " & conf_name} | |
set newToDo to make new to do with properties {name:"Book flight for " & conf_name} | |
set newToDo to make new to do with properties {name:"Book hotel for " & conf_name} | |
set newToDo to make new to do with properties {name:"Prerecord DAS screencasts for " & conf_name} | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment