On 7/28/07 7:15 PM, "Claudia" <[EMAIL PROTECTED]> wrote:

> Is there a script or some other way to add a ctrl-click Empty Junk Mail like
> on Deleted Items?

I use a script called "Nuke Messages" by Philip Kearney. Assign a shortcut
to the script and it's easy to delete selected messages for permanent
deletion. There is no way to retrieve messages deleted this way so be
careful when using.

I scan my Deleted Items folder for good mail. Remove any that is legitimate
mail, select all that is left and nuke it.

<http://www.avernus.com/~phil/OEFilez/Nuke_Messages_Erage.hqx>

See "Add Keyboard Shortcuts" to assign a shortcut to a script.

<http://www.entourage.mvps.org/script/add_shortcuts.html>

Here's a script that deletes IMAP and Exchange accounts as well. By Barry
Wainwright:

-- Nuke the Junk Mail v1.2
-- A script for Microsoft Entourage v11
-- (will not work with vX)
-- an applescript by Barry Wainwright <mailto:[EMAIL PROTECTED]>
-- This script released under a Creative Commons Attribution, NonCommercial,
ShareAlike 2.0 England & Wales License.
-- see <http://creativecommons.org/licenses/by-nc-sa/2.0/uk/> for full
details

-- 19/12/2003 - First version
-- 18/10/2004 - v1.1 Finally got round to adding IMAP accounts!
-- 27/01/2007 - v1.2 Added Exchange accounts as well

tell application "Microsoft Entourage"
    -- Local Junk Mail
    set theMail to every message of folder id 6
    delete theMail
    delete theMail
    
    -- Imap Accounts
    set IMAPaccounts to every IMAP account
    repeat with anAccount in IMAPaccounts
        try
            set theMail to every message of folder "Junk E-Mail" of
anAccount
            delete theMail
            delete theMail
        end try
    end repeat
    
    -- Exchange Accounts
    set exchangeAccounts to every Exchange account
    repeat with anAccount in exchangeAccounts
        try
            set theMail to every message of folder "Junk E-Mail" of
anAccount
            delete theMail
            delete theMail
        end try
    end repeat
    
end tell



Copy the script to a new script window in Apples 'Script Editor.app'. Save
the script as a compiled script & put it in the ŒEntourage Script Menu
Items¹ folder in your ŒMicrosoft User Data¹ folder. The script can be
manually run from the menu or called as an action in a schedule.

-- 
Diane Ross, Microsoft Mac MVP
Entourage Help Page   <http://www.entourage.mvps.org/>

Reply via email to