Hi,
I often find myself needing to read/review a document that's sitting somewhere on my disk.
Rather than putting all the documents needing a review to a "To be reviewed" folder, I decided to try put toghether a quick and dirty script to help me with that, inspired by Curt Cliftons Send URL to OF.
The script gets the name of the selected Finder documents and creates an OF task in the inbox called "Read XXX:YYY:ZZZ.pdf".
Ideally:
Maybe you'd like to add this functionality.
I often find myself needing to read/review a document that's sitting somewhere on my disk.
Rather than putting all the documents needing a review to a "To be reviewed" folder, I decided to try put toghether a quick and dirty script to help me with that, inspired by Curt Cliftons Send URL to OF.
The script gets the name of the selected Finder documents and creates an OF task in the inbox called "Read XXX:YYY:ZZZ.pdf".
Ideally:
- the task name should just be the file name, without the full path
- the task note should contain the alias to the file
- the script should check if one document is selected, and not a folder
Maybe you'd like to add this functionality.
Code:
-- Written by Marek Kowalczyk, inspired by Curt Clifton property actionPrefix : "Read " tell application "Finder" set theName to the selection end tell tell front document of application "OmniFocus" make new inbox task with properties {name:(actionPrefix & theName)} end tell