Jump to content

Vibol

Level 1
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Vibol

  1. This script will import all your Notes and create folders for each Account. For instance, if you have iCloud and a Gmail account, it will create "Imported iCloud" and "Imported Gmail" folders to store respective notes. It also sets mod date to the correct field. Thanks everyone for creating the base for this. tell application "Notes" set theNotes to every note repeat with thisNote in theNotes set myTitle to the name of thisNote set myText to the body of thisNote set myCreateDate to the creation date of thisNote set myModDate to the modification date of thisNote set myFolder to the container of thisNote set myAccount to the container of myFolder set myAccountName to the name of myAccount set myAccountName to "Imported " & myAccountName set myAccountName to myAccountName as string tell application "Evernote" set myNote to create note with text myTitle title myTitle notebook myAccountName 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 repeatend tell
×
×
  • Create New...