Created
April 9, 2013 00:11
-
-
Save jasonian/5341775 to your computer and use it in GitHub Desktop.
Copy notes from Apple Notes app to Evernote. No error checking, written for a one-time import. Worked perfectly for my needs.
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" | |
set theMessages to every note | |
repeat with thisMessage in theMessages | |
set theNoteName to name of thisMessage | |
set theNoteBody to the body of thisMessage | |
set theNoteCreationDate to the creation date of thisMessage | |
set theNoteModificationDate to the modification date of thisMessage | |
tell application "Evernote" | |
create note with html theNoteBody title theNoteName notebook "Imported Notes" tags "imported_note" created theNoteCreationDate | |
end tell | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment