Mark as Unread

Hello everybody,
I’m trying to use Applescript to mark a message as “Unread”. I’m completely new to Applescript and cannot get it to use the keystroke Shift + applekey + u. Or mark message as “Unread”. I want to use this script in conjunction with Add-On for Mail.
TIA
Simon

Hi Simon

Try this after selecting some messages in Mail.

tell application "Mail"
	set theseMessages to selection
	repeat with myMessage in theseMessages
		set read status of myMessage to false
	end repeat
end tell

Best wishes

John M

Thank you, thank you, thank you. :wink:
Don