Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Relevant post here: http://n8henrie.com/2011/06/dropvox-dropbox-hazel-and-omnifocus/
- tell application “Finder”
- set file_name to (name of theFile)
- tell application “OmniFocus”
- tell default document
- set NewTask to make new inbox task with properties {name:file_name}
- tell the note of NewTask
- make new file attachment with properties {file name:theFile, embedded:true}
- end tell
- activate
- end tell
- end tell
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement