Created
February 10, 2012 15:11
-
-
Save gtuckerkellogg/1790180 to your computer and use it in GitHub Desktop.
emacs org-mode links to evernote notes
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
-- -*- Applescript-mode -*- | |
-- A trivial AppleScript automator service to create org-mode links to evernote notes | |
-- must have defined evernote:: links in org mode | |
on run {} | |
tell application "Evernote" | |
set selected_notes to selection | |
set the_links to "" | |
if selected_notes is not equal to {} then | |
repeat with n in selected_notes | |
set the_URL to the note link of n | |
set the_title to the title of n | |
set the_link to "[[" & the_URL & "]" & "[" & the_title & "]]" | |
set the_links to the_links & the_link & " | |
" | |
end repeat | |
set the clipboard to the_links | |
end if | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the approach you suggest for telling org-mode how to handle evernote links? I see this on github: https://github.com/yoshinari-nomura/epic Is that what you have in mind?