Import Notes from Mail.app Into Evernote (Applescript)


/ Published in: AppleScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. tell application "Mail"
  2. set theMessages to every message of the mailbox "NoteMigrate"
  3.  
  4. repeat with thisMessage in theMessages
  5. set myTitle to the subject of thisMessage
  6. set myText to the content of thisMessage
  7. set myCreateDate to the date sent of thisMessage
  8.  
  9. tell application "Evernote"
  10. create note with text myText¬
  11. title myTitle ¬
  12. notebook "Imported Notes" ¬
  13. tags "imported_note" ¬
  14. created myCreateDate
  15. end tell
  16. end repeat
  17.  
  18. end tell
  19.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.