Created
October 1, 2015 07:17
-
-
Save abyx/723e5f844911f17284f4 to your computer and use it in GitHub Desktop.
Evernote exporter
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
#!/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