Mark mail as read?

M

main.dude

Hi,

I'm developing some AppleScript's based on a thread started by Dave
Edelstein aided by the excellent input from Paul Berkowitz. The basic
idea is that the script will tell me how many tasks, events and new
mails I have. I'm then able to get the AppleScript to read the items
to me, including e-mail. I have most of it working although there are
a few things that could be improved.

However, one of the things I'm having trouble with is setting a new
mail as 'read' after I have had it read out to me. Does anyone know
how to do this with Applescript?

Thanks for your help.
 
D

deathdruid

However, one of the things I'm having trouble with is setting a new
mail as 'read' after I have had it read out to me. Does anyone know
how to do this with Applescript?

Try the following:

set read status of theMessage to read

where theMessage is a message.

-Rahul
 
M

main.dude

Try the following:

set read status of theMessage to read

where theMessage is a message.

-Rahul

Hi Rahul,

Thanks for the reply - it worked!

Now if only I can find a voice that sounds remotely human....

Regards,

Andy
 
D

Diane Ross

Top