changing message status (Entourage X)

S

Scott

Is there any way to automatically change the status of a message to
"read" when it's manually moved to the Deleted Items folder? I tried:
If
Folder Is Deleted Items
Then
Change Status Read

but it doesn't do anything. I.e., deleting one or more unread messages
in the Inbox doesn't change their status in Deleted Item
 
B

Barry Wainwright

Is there any way to automatically change the status of a message to
"read" when it's manually moved to the Deleted Items folder? I tried:
If
Folder Is Deleted Items
Then
Change Status Read

but it doesn't do anything. I.e., deleting one or more unread messages
in the Inbox doesn't change their status in Deleted Item

Where did you try this? In a mail rule? They only run automatically on new
messages as they arrive, or they can be run manually on selected messages.
Neither option will give you what you want.

Try this script...

Tell app "Microsoft Entourage"
Set theMessages to every message of folder id 5 whose read status is not
read
Set read status of themessages to read
End tell

Save this script as a compiled script in the Entourage Script Menu Items
folder, and you can either select it to run it manually, or create a
repeating schedule that runs every ten minutes or so to run this script.


Note: That script is designed for Entourage 2004 - if you get an error in
the next to last line in Entourage x, you may need to replace that
particular line with:

Repeat with aMessage in themessages
Set read status of amessage to read
End repeat
 
P

Paul Berkowitz

Where did you try this? In a mail rule? They only run automatically on new
messages as they arrive, or they can be run manually on selected messages.
Neither option will give you what you want.

Try this script...

Tell app "Microsoft Entourage"
Set theMessages to every message of folder id 5 whose read status is not
read
Set read status of themessages to read
End tell

That will only work in Entourage 2004, I believe. To have it work in either
Entourage X or 2004, or 2001, it would have to be:

tell app "Microsoft Entourage"
set read status of (every message of folder id 5 whose read status is
not read) to read
End tell
Save this script as a compiled script in the Entourage Script Menu Items
folder, and you can either select it to run it manually, or create a
repeating schedule that runs every ten minutes or so to run this script.


Note: That script is designed for Entourage 2004 - if you get an error in
the next to last line in Entourage x, you may need to replace that
particular line with:

Aha. Yes, you could do it the slow way, in a repeat loop. But it's not
necessary: you can do it the fast way even in X, as above.
Repeat with aMessage in themessages
Set read status of amessage to read
End repeat


--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/toc.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Entourage you are using - **2004**, X
or 2001. It's often impossible to answer your questions otherwise.
 
Top