on 4/23/05 1:07 PM, Barry Wainwright at [EMAIL PROTECTED] wrote:
> 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.
I managed to cobble this together, the trouble is to moves ALL messages to "theFinishedFolder" and what I want to do is only treat this to messages that are in the "Inbox".
tell application "Microsoft Entourage"
set theReply to item 1 of (get current messages)
set originalMessage to item 1 of (get links of theReply)
set theFinishedFolder to folder "!!!!*Read Mail*!!!!"
if storage of originalMessage is folder id 1 then move originalMessage to theFinishedFolder
end tell
--
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/>
