… but I'm a total Applescript doofus!
I'm using Hazel to move files from my Downloads folder but I want to add them to a task in OF too.
The basic idea is once the file is moved I want a new task with the name "Read Bulletin", put into a specified project, with a due date in the next 3 days.
I can't get my head around the syntax ... I have tried
tell application "OmniFocus"
activate
make new task with properties {duedate:3days, name:ReadBulletin}
end tell
(doesn't like the properties! Delimiters and undefined variables, apparently)
Anyone care to help?
(This is what Automator was built for!)
Thanks in advance
I'm using Hazel to move files from my Downloads folder but I want to add them to a task in OF too.
The basic idea is once the file is moved I want a new task with the name "Read Bulletin", put into a specified project, with a due date in the next 3 days.
I can't get my head around the syntax ... I have tried
tell application "OmniFocus"
activate
make new task with properties {duedate:3days, name:ReadBulletin}
end tell
(doesn't like the properties! Delimiters and undefined variables, apparently)
Anyone care to help?
(This is what Automator was built for!)
Thanks in advance