Of course, you have to adapt a little bit if you do not have an Emarsys context. set parentTask to make new task with properties end tell end tell end tell end tell end tell end createOmniFocusTaskĬopy and paste that into a new script in AppleScript Editor (or download a copy here) and try it out. Entry point when run on run display dialog "Enter purchase order description:" default answer "Purchase" createOmniFocusTask ( the result's text returned ) end run - Create tasks in Omnifocus on createOmniFocusTask ( eventName ) tell application "OmniFocus" tell default document - Grab the context set purchaseContext to first context whose name is "Emarsys" - Create the task inside a project set fld to first folder whose name is "Emarsys" tell fld set proj to first project whose name is "Single Actions" tell proj - Create parent task and its subtasks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |