How do I create an applescript which will read out the subjects of all of the emails from a certain sender (in Mail) ?
Model: MacBook Pro
AppleScript: 2.21
Browser: Google Chrome 5.0.307.9
Operating System: Mac OS X (10.6)
How do I create an applescript which will read out the subjects of all of the emails from a certain sender (in Mail) ?
Model: MacBook Pro
AppleScript: 2.21
Browser: Google Chrome 5.0.307.9
Operating System: Mac OS X (10.6)
The easiest way is to create a smart mailbox that will collect messages from that sender and then run this (with the correct name in it), at which point the variable Msub will contain a list of the subjects:
tell application "Mail"
set Msub to subject of messages of mailbox "SmartMBName"
end tell
Thanks for that