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

Click here to return to the 'Mark email message as replied-to in Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Mark email message as replied-to in Mail
Authored by: flip on Nov 10, '09 10:07:29AM
Nice one! You can easily toggle it both ways with a single script, though:
using terms from application "Mail"
	tell application "Mail"
		set selectedMessages to selection
		repeat with aMessage in selectedMessages
			set was replied to of aMessage to (not was replied to of aMessage)
		end repeat
	end tell
end using terms from

[ Reply to This | # ]
Mark email message as replied-to in Mail
Authored by: Anonymous on Nov 10, '09 12:19:08PM

But this toggles every selected message. Not exactly intuitive.

When I get home, I might have a crack at modifying the script so it does two things: take a vote on what the current state is. If there's a clear winner, all messages are set to the opposite state. If there's no clear winner, ask the user.

[ Reply to This | # ]