Title: Re: Is there a way to clear the "Redirected" status of a message?
On 5/15/04 11:40 AM, "Laurie A. Duncan" <[EMAIL PROTECTED]> wrote:
> I have a rule that currently Redirects all messages to my Google Gmail
> account for beta testing. I receive many hundreds of messages a day. The
> rule works great, of course, but it leaves every message in Entourage (2004)
> with that redirected arrow, which I find a bit annoying.
>
> Is there a way (a script perhaps?) to strip those redirected indicators
> either as part of the same rule that initiates the redirect (preferred
> method) or after the fact that I can do manually?
Have the rule run this script, after doing the redirection:
tell app "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set redirected of theMsg to false
end tell
I suppose it's just possible that the script would run before the redirection arrow appears from the first action of the rule. If so, you'd simply have to replace the redirection action with a single script that does both actions:
tell app "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set theRedirect to redirect theMsg to "My Name <[EMAIL PROTECTED]>" without opening message-- or whatever
send theRedirect with sending later -- or remove 'with sending later'
set redirected of theMsg to false
end tell
I think it's best to send 'with sending later' which will put the redirect in the Outbox, as you're doing at present, so all the redirects go off at once on next Send All. Otherwise each message will go off separately ringing the "just sent" bell each time.
--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/toc.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
PLEASE always state which version of Entourage you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise.
--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/toc.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
PLEASE always state which version of Entourage you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise.
- Is there a way to clear the "Redirected" status... Laurie A. Duncan
- Re: Is there a way to clear the "Redirected&quo... Paul Berkowitz
- Re: Is there a way to clear the "Redirected... Laurie A. Duncan
- Re: Is there a way to clear the "Redirected... Laurie A. Duncan
- Re: Is there a way to clear the "Redire... Paul Berkowitz
- Re: Is there a way to clear the "Re... Laurie A. Duncan
- Re: Is there a way to clear the &qu... Barry Wainwright
- Re: Is there a way to clear the... Laurie A. Duncan
- Re: Is there a way to clear the &qu... Paul Berkowitz
