Advertisement
n8henrie

Import DropVox to OmniFocus

Sep 7th, 2012
1,028
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Relevant post here: http://n8henrie.com/2011/06/dropvox-dropbox-hazel-and-omnifocus/
  2. tell application “Finder”
  3. set file_name to (name of theFile)
  4. tell application “OmniFocus”
  5. tell default document
  6. set NewTask to make new inbox task with properties {name:file_name}
  7. tell the note of NewTask
  8. make new file attachment with properties {file name:theFile, embedded:true}
  9. end tell
  10. activate
  11. end tell
  12. end tell
  13. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement