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
--
"You question the worthiness of my code? I should kill you where you stand!"
- 7th most commonly uttered Klingon programmer phrase
--
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/>