Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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