Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@matthewbga
Forked from brettkelly/InstallSendPdfToEvernote
Created December 28, 2012 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewbga/4400937 to your computer and use it in GitHub Desktop.
Save matthewbga/4400937 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment