Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Get properties of Mail message in frontmost window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get properties of Mail message in frontmost window
Authored by: BlackPenguin on Feb 16, '10 06:50:10PM
I haven't tested this extensively, but in my cursory efforts, I found that this script didn't work for me; it displayed an error stating that Mail could not get a particular mailbox. On the other hand...

tell application "Mail"
	set target_message to the selection
	return properties of item 1 of target_message
end tell

...worked just fine for me, so maybe I don't understand the bug to which the original poster was referring. Thoughts?

[ Reply to This | # ]