Title: Re: Q: Applescript to move read messages
tell application "Microsoft Entourage" to move (every message of folder "Inbox" of imap account "[accountname]" whose read status is read) to folder "READ MESSAGES" of folder “Inbox” of imap account "[accountname]"

--
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Check out the Entourage User's WebLog for hints, tips and troubleshooting
<http://homepage.mac.com/barryw/weblog/weblog.html>



From: Carlo Anselmi <[EMAIL PROTECTED]>
Reply-To: "Entourage:mac Talk" <[email protected]>
Date: Sat, 18 Mar 2006 00:48:31 +0100
To: "Entourage:mac Talk" <[email protected]>
Conversation: Q: Applescript to move read messages
Subject: Re: Q: Applescript to move read messages

Hi again,

The hint I have received from Bill works perfectly with POP mail.
I was wondering if someone would kindly help me achieving the same result with an IMAP account.
Same need: moving READ messages from the IMAP “Inbox” folder to a subfolder of it (or other folder on the server) with an automatic/schedulable script.

Many thanks for your attention!
Ciao
Carlo



Da: Bill White <[EMAIL PROTECTED]>
Risposta: "Entourage:mac Talk" <[email protected]>
Data: Thu, 16 Mar 2006 19:47:16 -0500
A: = Entourage Talk <[email protected]>
Conversazione: Q: Applescript to move read messages
Oggetto: Re: Q: Applescript to move read messages

On 3/16/06 7:34 PM, Carlo Anselmi <[EMAIL PROTECTED]> wrote:

> I am trying to write a script to move all the read messages in the Inbox
> folder to a specific folder, which is a subfolder inside Inbox.

Carlo,

Try this:

tell application "Microsoft Entourage"
    
    move (every message of folder "Inbox" whose read status is read) to folder "READ MESSAGES" of folder “Inbox”
    
end tell

That should do what you need in pretty much one line.

HTH,

Bill

Reply via email to