Skip to content

Instantly share code, notes, and snippets.

@radamant
Forked from garybernhardt/gist:949922
Created April 30, 2011 20:44
Show Gist options
  • Save radamant/949979 to your computer and use it in GitHub Desktop.
Save radamant/949979 to your computer and use it in GitHub Desktop.
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