Skip to content

Instantly share code, notes, and snippets.

@brettkelly
Created May 23, 2013 20:39
Show Gist options
  • Save brettkelly/5639261 to your computer and use it in GitHub Desktop.
Save brettkelly/5639261 to your computer and use it in GitHub Desktop.
Grab the source URL from the current note and open it in the default browser.
tell application "Evernote"
set myNote to selection
try
set myUrl to (source URL of item 1 of myNote)
tell application "System Events"
open location myUrl
end tell
on error
-- real programmers would put something here
end try
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment