Paul
Mon May 17 16:06:27 CDT 2004
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--B_3167647588_9631374
Content-type: text/plain;
charset="US-ASCII"
Content-transfer-encoding: 7bit
On 5/17/04 1:41 PM, in article BCCEE1F6.15AAA%barry@mvps.org.INVALID, "Barry
Wainwright" <barry@mvps.org.INVALID> wrote:
> On 17/5/04 9:02 pm, in article
> heimdall-F533C8.16030517052004@news4.srv.hcvlny.cv.net, "Scott"
> <heimdall@spamless.invalid> wrote:
>
>> 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
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.
--B_3167647588_9631374
Content-type: text/html;
charset="US-ASCII"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>Re: changing message status (Entourage X)</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:12.0px'>On 5/=
17/04 1:41 PM, in article BCCEE1F6.15AAA%barry@mvps.org.INVALID, "Barry=
Wainwright" <barry@mvps.org.INVALID> wrote:<BR>
<BR>
<FONT COLOR=3D"#0000FF">> On 17/5/04 9:02 pm, in article<BR>
> heimdall-F533C8.16030517052004@news4.srv.hcvlny.cv.net, "Scott&qu=
ot;<BR>
> <heimdall@spamless.invalid> wrote:<BR>
> <BR>
</FONT><FONT COLOR=3D"#008000">>> Is there any way to automatically cha=
nge the status of a message to<BR>
>> "read" when it's manually moved to the Deleted Items fol=
der? I tried:<BR>
>> If<BR>
>> Folder Is Deleted Items<BR>
>> Then<BR>
>> Change Status Read<BR>
>> <BR>
>> but it doesn't do anything. I.e., deleting one or more unread mess=
ages<BR>
>> in the Inbox doesn't change their status in Deleted Item<BR>
</FONT><FONT COLOR=3D"#0000FF">> <BR>
> Where did you try this? In a mail rule? They only run automatically on=
new<BR>
> messages as they arrive, or they can be run manually on selected messa=
ges.<BR>
> Neither option will give you what you want.<BR>
> <BR>
> Try this script... <BR>
> <BR>
> Tell app "Microsoft Entourage"<BR>
> Set theMessages to every message of folder id 5 whose read status is n=
ot<BR>
> read<BR>
> Set read status of themessages to read<BR>
> End tell<BR>
</FONT><BR>
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:<BR>
<BR>
tell app "Microsoft Entourage"<BR>
set read status of (every message of folder i=
d 5 whose read status is not read) to read<BR>
End tell<BR>
<FONT COLOR=3D"#0000FF">> <BR>
> Save this script as a compiled script in the Entourage Script Menu Ite=
ms<BR>
> folder, and you can either select it to run it manually, or create a<B=
R>
> repeating schedule that runs every ten minutes or so to run this scrip=
t.<BR>
> <BR>
> <BR>
> Note: That script is designed for Entourage 2004 - if you get an error=
in<BR>
> the next to last line in Entourage x, you may need to replace that<BR>
> particular line with:<BR>
</FONT><BR>
Aha. Yes, you could do it the slow way, in a repeat loop. But it's not nece=
ssary: you can do it the fast way even in X, as above.<BR>
<FONT COLOR=3D"#0000FF">> <BR>
> Repeat with aMessage in themessages<BR>
> Set read status of amessage to read<BR>
> End repeat<BR>
</FONT><BR>
<BR>
-- <BR>
Paul Berkowitz<BR>
MVP Entourage<BR>
Entourage FAQ Page: <a href=3D"
http://www.entourage.mvps.org/toc.html"><ht=
tp://www.entourage.mvps.org/toc.html></a><BR>
AppleScripts for Entourage: <a href=3D"
http://macscripter.net/scriptbuilders/=
"><
http://macscripter.net/scriptbuilders/></a> <BR>
<BR>
Please "Reply To Newsgroup" to reply to this message. Emails will=
be ignored.<BR>
<BR>
PLEASE always state which version of Entourage you are using - **2004**, X =
or 2001. It's often impossible to answer your questions otherwise.<BR>
</SPAN></FONT>
</BODY>
</HTML>
--B_3167647588_9631374--