Skip to content

Instantly share code, notes, and snippets.

@abyx
Created October 1, 2015 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abyx/723e5f844911f17284f4 to your computer and use it in GitHub Desktop.
Save abyx/723e5f844911f17284f4 to your computer and use it in GitHub Desktop.
Evernote exporter
#!/usr/bin/osascript
do shell script "open -a /Applications/Evernote.app"
delay 10 # Evernote is slooooooow
with timeout of (10 * 60) seconds
tell application "Evernote"
set allnotebooks to notebooks
repeat with anotebook in allnotebooks
set aname to name of anotebook
set thenotes to notes of anotebook
set outputpath to "/Users/abyx/Documents/evernote-backup/notes/" & aname
export thenotes to outputpath format HTML
end repeat
end tell
end timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment