Skip to content

Instantly share code, notes, and snippets.

@loklaan
Created May 30, 2018 01:03
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 loklaan/689cd01974de1a7c41483bf4459262f0 to your computer and use it in GitHub Desktop.
Save loklaan/689cd01974de1a7c41483bf4459262f0 to your computer and use it in GitHub Desktop.
Import Notes to Evernote

Import Notes to Evernote

Open the Apple Script Editor, and paste the attach script in.

Customize

  1. Edit the name of the Notebook used, which by default is "Imported Notes"
  2. Edit the tags attached to each note
tell application "Notes"
set theMessages to every note
repeat with thisMessage in theMessages
set myTitle to the name of thisMessage
set myText to the body of thisMessage
set myCreateDate to the creation date of thisMessage
set myModDate to the modification date of thisMessage
tell application "Evernote"
set myNote to create note with text myTitle title myTitle notebook "Imported Notes" tags ["imported"]
set the HTML content of myNote to myText
set the creation date of myNote to myCreateDate
set the modification date of myNote to myModDate
end tell
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment