Jump to content

SurferSteve

Level 1
  • Posts

    2
  • Joined

  • Last visited

Posts posted by SurferSteve

  1. I'm using the script but it's giving me an ["... Connection is invalid." number -609] error. I end up with about 2/3rds of my 250 Notes imported. I can't see any pattern of which Notes are imported and which aren't.

     

    Any suggestions?

     

     

    Thanks d.b.walker! It worked perfectly!

     

    *Dale*

     

     

    Modified this script to work with Mavericks Notes, which is no longer in the mail app.

    Added the original creation and modification dates

    Added multiple tags - replace with your own

     

    Did not add the long note name fix (I needed to preserve my note names)

     

    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_from_notes", "Mavericks", "Another_Example_Tag"]

    set the HTML content of myNote to myText

    set the creation date of myNote to myCreateDate

    set the modification date of myNote to myCreateDate

    end tell

    end repeat

    end tell

     

    Enjoy

     

     

×
×
  • Create New...