On or near 3/30/2003 11:16 AM, Demetrius at [EMAIL PROTECTED]
observed:

> Hi,
> 
>  I'm new to Entourage so forgive me if my questions sound silly. I've been
> a Eudora user for a long time, and I would like to know if I can make a rule
> that will automatically open the mailbox that received the  selected mail.

You will need an AppleScript to do this. If you put the following script
into Script Editor, save it in your Entourage Script Menu Items folder, and
then select "Run AppleScript" and select this script in your rule, it should
do the trick. Put the action running the script after the action that moves
the message; or, put the explicit folder you want to open in the script (see
second example for opening a sub-folder).

 tell application "Microsoft Entourage"
    set theMsg to item 1 of (get current messages)
    set theFolder to storage of theMsg
    open theFolder
 end tell

 tell application "Microsoft Entourage"
    open folder "Entourage" of folder "Mailing Lists"
    set theMsg to item 1 of (get current messages)
    select theMsg -- This will highlight the incoming message
 end tell

I haven't actually tested these scripts, so if you have any problems let me
know.
-- 
Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site:
<http://www.entourage.mvps.org/>
AppleScripts for Outlook Express and Entourage:
 <http://members.thinkaccess.net/[EMAIL PROTECTED]/Scripts/>
Entourage Help Pages: <http://www.entourage.mvps.org/>


-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to