on 12/13/00 5:17 PM, Jim Priebe at [EMAIL PROTECTED] wrote:

> Is there an applescript available to automatically delete mail labeled as
> junk by the junk mail filter?
> Thanks for any help.
Yes
Allen Watson was very kind and made one for me. It works just as I want it
to.

tell application "Microsoft Entourage"
    set allOfEm to every message of folder "Inbox"
    repeat with aMsg in allOfEm
        set c to category of aMsg
        if {category "Junk"} is in c then
            move aMsg to folder "Deleted Items"
            delete aMsg
        end if
    end repeat
end tell

-- 
[EMAIL PROTECTED]



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

Reply via email to