Skip to content

Instantly share code, notes, and snippets.

@bradwright
Last active August 29, 2015 14:07
Show Gist options
  • Save bradwright/8f8fde7d9e69d37a7301 to your computer and use it in GitHub Desktop.
Save bradwright/8f8fde7d9e69d37a7301 to your computer and use it in GitHub Desktop.

Revisions

  1. bradwright revised this gist Jun 14, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion copy-note-link-to-clipboard.scpt
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@ tell application "Evernote"
    set _sel to selection
    if _sel {} then
    set aNote to first item of _sel
    set the clipboard to (get note link of aNote)
    set myNoteLink to note link of aNote
    set the clipboard to myNoteLink
    end if
    end tell
  2. bradwright created this gist Oct 9, 2014.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Add this script in Automator as a service for "Evernote".
    7 changes: 7 additions & 0 deletions copy-note-link-to-clipboard.scpt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    tell application "Evernote"
    set _sel to selection
    if _sel {} then
    set aNote to first item of _sel
    set the clipboard to (get note link of aNote)
    end if
    end tell