从导入笔记邮件.app进入Evernote(Applescript)

【从导入笔记邮件.app进入Evernote(Applescript)】知识就是力量,时间就是生命。这篇文章主要讲述从导入笔记邮件.app进入Evernote(Applescript)相关的知识,希望能为你提供帮助。

  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.  


    推荐阅读