This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Slightly modified version of Efficient Computing's AppleScript: http://efficientcomputing.commons.gc.cuny.edu/2012/03/17/copy-email-message-in-mail-app-to-evernote-applescript/ | |
tell application "Mail" | |
--get selected messages | |
set theSelection to selection | |
--loop through all selected messages | |
repeat with theMessage in theSelection | |
--get information from message | |
set theMessageDate to the date received of theMessage |