Title: Re: file originals after reply
On 23/4/05 1:37 am, "Scott Haneda" <[EMAIL PROTECTED]> wrote:

I have an outgoing email rule that says if: subject starts with re: run the below script.

The email sends fine, but the time the script takes to do its business is pretty long, seconds to say the least.

Is there a "leaner" version of below?

Searching every ‘replied to’ message of every folder would be very slow. Also, as you script is written, it will not check subfolders, just top level folders.

When you reply to a message in entourage, a Link is created between the two items — the original mail and its reply. I think the reply link is always the first item in the list of links, but I haven’t confirmed this wil extensive testing. If it is, you can use this snippet to identify the original message directly:

set theReply to item 1 of (get current messages)
set originalMessage to item 1 of (get links of theReply)

If this gives problem, and sometimes other links get in the way, it would be easy enough to work through the list of links and find an incoming message.

--
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Seen the All-New Entourage Help Pages? - Check them out:
        <http://www.entourage.mvps.org/>

Reply via email to