Something I do often is to delete all messages in a folder.  So following
one of Allen's examples, I wrote the following:

tell application "Microsoft Entourage"
    set f to displayed feature of window 1
    set allOfEm to every message of f
    repeat with aMsg in allOfEm
        delete aMsg
    end repeat
end tell

[Admittedly, it's a little weak on the error-checking side.]

I stored this as a "compiled script" (.scpt extension) and put it in the
Script Menu Items folder.

When I execute this from the Scripts menu, it takes about 15 seconds, even
when there are only 3 or four messages in the folder.

What causes this?  What can I do to speed it up?

TIA,

-- Joshua




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