Created
May 23, 2013 20:39
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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