Really Inspector, do you seriously expect me to believe that on 3/4/03 5:41
pm, "Allen Watson" <[EMAIL PROTECTED]> said:

> I sent a script with a typo; sorry! It is fixed below.

>> tell application "Microsoft Entourage"
>>     set hrs to (text returned of (display dialog "Delete items older than how
>> many hours?" default answer "12")) as number
>>     set f to folder "Deleted Items" -- Alter for others
>>     set allOfEm to every message in f
>>     set cutOff to ((current date) - (hrs * hours))
>>     repeat with aMsg in allOfEm
>>         if time sent of aMsg is less than cutOff then delete aMsg
>>     end repeat
>> end tell

I'm quite happy with the deleted items being trashed on shutdown, but it's
made me think that I'd also like my Junk folder to be automatically emptied
too. Is there an existing script for this, or can someone please show me how
to construct one?

Thanks - pb


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