Forked from pdxmph/import_notes_app_to_evernote.applescript
Last active
August 29, 2015 14:06
-
-
Save mgreiner/af8b4e453f6dac8e93fb to your computer and use it in GitHub Desktop.
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
tell application "Notes" | |
repeat with thisAccount in accounts | |
repeat with thisFolder in folders of thisAccount | |
repeat with thisNote in notes of thisFolder | |
set myTitle to the name of thisNote | |
set myText to the body of thisNote | |
set myCreateDate to the creation date of thisNote | |
set myModDate to the modification date of thisNote | |
tell application "Evernote" | |
set importedNote to create note with html myText  | |
title myTitle  | |
created myCreateDate  | |
notebook "Imported Notes" | |
set modification date of importedNote to myModDate | |
end tell | |
end repeat | |
end repeat | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment