Hey guys,
Here's the version that works with OS X 10.15 Catalina and the latest Evernote.
tell application "Notes"
activate
set folderNames to name of folders
set chosenFolderNames to (choose from list folderNames with multiple selections allowed)
if (chosenFolderNames is false) then error number -128 -- Cancel button.
end tell
repeat with i from 1 to (count chosenFolderNames)
set thisFolderName to item i of chosenFolderNames
tell application "Notes" to set theNotes to notes of folder thisFolderName
set quotedFolderName to quoted form of thisFolderName
repeat with j from 1 to (count theNotes)
tell application "Notes"
set myTitle to the name of note j
set myText to the body of note j
set myCreateDate to the creation date of note j
set myModDate to the modification date of note j
end tell
tell application "Evernote"
set myNote to create note with text myTitle title myTitle notebook "Imported From Notes"
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 repeat
It doesn't save any attachments - you have to remove them from your notes first, otherwise the script won't run. But apart from that, it works just fine. Hope you find it useful