Last active
December 17, 2015 17:19
-
-
Save ecornell/5645380 to your computer and use it in GitHub Desktop.
Evernote: AppleScript to email all of the notes in a set notebook
This file contains 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" | |
activate | |
set matches to find notes "notebook:NameOfNotebook -tag:ExportedOneNote" | |
repeat with n in matches | |
set nw to open note window with n | |
tell application "System Events" | |
tell process "Evernote" | |
click menu item "Email Note..." of menu "Share" of menu item "Share" of menu "Note" of menu bar item "Note" of menu bar 1 of application process "Evernote" of application "System Events" | |
keystroke "[email protected]" | |
keystroke tab using shift down | |
keystroke tab using shift down | |
keystroke tab using shift down | |
keystroke space | |
end tell | |
end tell | |
if (not (tag named "ExportedOneNote" exists)) then | |
make tag with properties {name:"ExportedOneNote"} | |
end if | |
assign tag "ExportedOneNote" to n | |
close nw | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created this to bulk import my notes into OneNote
There is a limit of 25 emails a day for the free accounts