Does anyone happen to know if there¹s a keyboard shortcut or a script that
will delete messages from my Spam folder directly without going through
Deleted Messages? That¹s a lot of extra key presses every day, given the
amount of spam coming in.

Tom

Re: Keyboard Shortcut for Direct Delete? by Barry

Barry
Sun Nov 09 02:54:28 CST 2003

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3151212870_6490140
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit

On 8/11/03 8:17 pm, in article BBD29D73.26BD%tom.putmylastnamehere@nau.edu,
"Tom Kirshbaum" <tom.putmylastnamehere@nau.edu> wrote:

> Does anyone happen to know if there¹s a keyboard shortcut or a script that
> will delete messages from my Spam folder directly without going through
> Deleted Messages? That¹s a lot of extra key presses every day, given the
> amount of spam coming in.
>
> Tom
>

Look for the script 'nuke messages'.

Alternatively, the script is so simple here is one in all it's glory...

tell application "Microsoft Entourage"
set theMessages to current messages
if theMessages ? {} then
display dialog "Do you want to permanently delete the selected
messages?" buttons {"Yes", "No"} default button 2 with icon caution
if button returned of the result is "Yes" then
delete theMessages
delete theMessages
end if
end if
end tell

--
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Seen the Entourage FAQ pages? - Check them out:
<http://www.entourage.mvps.org/toc.html>

Please post responses to this newsgroup. If I ask you to contact me
off-list, remove '.INVALID' from email address before replying.


--B_3151212870_6490140
Content-type: text/html;
charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>Re: Keyboard Shortcut for Direct Delete?</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:10.0px'>On 8/=
11/03 8:17 pm, in article BBD29D73.26BD%tom.putmylastnamehere@nau.edu, &quot=
;Tom Kirshbaum&quot; &lt;tom.putmylastnamehere@nau.edu&gt; wrote:<BR>
<BR>
<FONT COLOR=3D"#0000FF">&gt; Does anyone happen to know if there&#8217;s a ke=
yboard shortcut or a script that<BR>
&gt; will delete messages from my Spam folder directly without going throug=
h<BR>
&gt; Deleted Messages? That&#8217;s a lot of extra key presses every day, g=
iven the<BR>
&gt; amount of spam coming in.<BR>
&gt; <BR>
&gt; Tom<BR>
&gt; <BR>
</FONT><BR>
Look for the script 'nuke messages'.<BR>
<BR>
Alternatively, the script is so simple here is one in all it's glory...<BR>
<BR>
tell application &quot;Microsoft Entourage&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;set theMessages to current messages<BR>
&nbsp;&nbsp;&nbsp;&nbsp;if theMessages &#8800; {} then<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display dialog &quot;Do you=
want to permanently delete the selected messages?&quot; buttons {&quot;Yes&=
quot;, &quot;No&quot;} default button 2 with icon caution<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if button returned of the r=
esult is &quot;Yes&quot; then<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;del=
ete theMessages<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;del=
ete theMessages<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end if<BR>
&nbsp;&nbsp;&nbsp;&nbsp;end if<BR>
end tell<BR>
<BR>
-- <BR>
Barry Wainwright<BR>
Microsoft MVP (see <a href=3D"http://mvp.support.microsoft.com">http://mvp.su=
pport.microsoft.com</a> for details)<BR>
Seen the Entourage FAQ pages? - Check them out:<BR>
&nbsp;&nbsp;<a href=3D"http://www.entourage.mvps.org/toc.html">&lt;http://www=
.entourage.mvps.org/toc.html&gt;</a><BR>
<BR>
Please post responses to this newsgroup. If I ask you to contact me off-lis=
t, remove '.INVALID' from email address before replying.<BR>
</SPAN></FONT>
</BODY>
</HTML>


--B_3151212870_6490140--


Re: Keyboard Shortcut for Direct Delete? by Tom

Tom
Sun Nov 09 16:46:45 CST 2003

Barry,

Thanks for the script, but I ran into a problem with it. When I run it, I
get this message: ³Microsoft entourage got an error: {incoming message id
9973} doesn¹t understand the delete message²

Is there a fix?

Thanks.

Tom

> On 8/11/03 8:17 pm, in article BBD29D73.26BD%tom.putmylastnamehere@nau.edu,
> "Tom Kirshbaum" <tom.putmylastnamehere@nau.edu> wrote:
>
>> Does anyone happen to know if there¹s a keyboard shortcut or a script that
>> will delete messages from my Spam folder directly without going through
>> Deleted Messages? That¹s a lot of extra key presses every day, given the
>> amount of spam coming in.
>>
>> Tom
>>
>
> Look for the script 'nuke messages'.
>
> Alternatively, the script is so simple here is one in all it's glory...
>
> tell application "Microsoft Entourage"
> set theMessages to current messages
> if theMessages ? {} then
> display dialog "Do you want to permanently delete the selected
> messages?" buttons {"Yes", "No"} default button 2 with icon caution
> if button returned of the result is "Yes" then
> delete theMessages
> delete theMessages
> end if
> end if
> end tell


Re: Keyboard Shortcut for Direct Delete? by Paul

Paul
Mon Nov 10 01:32:46 CST 2003

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3151265566_12876144
Content-type: text/plain;
charset="ISO-8859-1"
Content-transfer-encoding: 8bit

You can adapt it slightly:

tell application "Microsoft Entourage"
set theMessages to current messages
repeat with i from (count theMessages) to 1 by -1
set theMessage to item i of theMessages
delete theMessage