On 13/2/05 6:20 am, "Remo Del Bello" <[EMAIL PROTECTED]> wrote:

> On 2/12/05 3:43 PM, Diane Ross deftly typed out:
> 
>>> tell application "Microsoft Entourage"
>>>     set currentMessages to current messages
>>>     if currentMessages = {} then return
>>>     delete currentMessages
>>>     try
>>>         delete currentMessages
>>>     end try
>>> end tell
>> 
>> If creating your own scripts is not your bag, then you can download the
>> "nuke messages" script here:
>> 
>> http://www.avernus.com/%7ephil/OEFilez/Nuke_Messages_Erage.hqx
> 
> I got the above code from one of the illustrious scripters on the list (I'm
> not sure, but I think it was Allen Watson). I liked it better than Nuke
> Messages Erage (which I used originally) because it deletes all of the
> messages in one step rather than iterate through the whole list of messages
> deleting one each time through the loop. For a large number of messages it
> is *way* faster.
> 
> -Remo Del Bello 

It is, but it will only work in 2004 - vX did not have the ability to delete
a list of messages, That's why theolder scripts iterate through a lit one
item at a time. Anyone using vX will still have to use the older script:

tell application "Microsoft Entourage"
     set currentMessages to current messages
     if currentMessages = {} then return
     repeat with aMessage in currentMessages
         delete aMessage
           try
                delete aMessage
           end try
     end repeat
end tell

Also, be aware that this method does not work for IMAP messages. They will
be left in your deleted items folder (if your delete model is set to move to
deleted items folder)


-- 
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/>


-- 
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