Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
try
set libPath to (path to library folder from user domain as text)
set newFolder to make new folder at libPath with properties {name:"PDF Services"}
end try
try
set printPath to (path to library folder from user domain as text) & "PDF Services"
make new alias at printPath to appPath with properties {name:"Send PDF to Evernote"}
end try
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment