Help! I am a complete newb. I used the following script to import my notes from Apple notes into evernote and it was populating evernote but then got an error.
tellapplication“Notes”
settheMessagestoeverynote
repeatwiththisMessageintheMessages
setmyTitletothenameofthisMessage
setmyTexttothebodyofthisMessage
setmyCreateDatetothecreation dateofthisMessage
setmyModDatetothemodification dateofthisMessage
tellapplication“Evernote”
setmyNotetocreate notewith text myTitle title myTitle notebook “Imported Notes” tags [“imported_from_notes”, “Mavericks”, “Another_Example_Tag”]
settheHTML contentofmyNotetomyText
setthecreation dateofmyNotetomyCreateDate
setthemodification dateofmyNotetomyCreateDate
endtell
endrepeat
endtell
ERROR -
error "Evernote got an error: Can’t continue create note." number -1708
Does anybody know how to fix?
PS: I updated the web app version of evernote in the middle of this transfer, not sure if this had anything to do with it or not.
How to import Apple Notes to Evernote
in Evernote for Mac Issues (Versions 7.14 and under)
Posted
Help! I am a complete newb. I used the following script to import my notes from Apple notes into evernote and it was populating evernote but then got an error.
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
ERROR -
error "Evernote got an error: Can’t continue create note." number -1708
Does anybody know how to fix?
PS: I updated the web app version of evernote in the middle of this transfer, not sure if this had anything to do with it or not.
Thanks in advance!