Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install the "Send PDF to Evernote" option in the Print > PDF menu
tell application "Finder"
try
set appPath to (path to application "Evernote" as text)
on error
display dialog "Couldn't find Evernote. Is it installed?"
end try
set printPath to (path to "dlib" from user domain as text) & "PDF Services"
make new alias at printPath to appPath with properties {name:"Send PDF to Evernote"}
end tell
@jeffla

This comment has been minimized.

Copy link

jeffla commented Jul 11, 2015

A fresh Yosemite install was missing the PDF Services folder (causing the script to fail) so I added a couple of try blocks in https://gist.github.com/jeffla/50de60fd48cdd2c5bc82

Thanks for the script!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.