What keyboard combination command "Permanently Deletes" a messagewithout moving it to the Deleted fo

B

Ben Russo

What Keyboard combination command deletes a message without moving it to the
Deleted folder?

For example, in Outlook and in many other MUA's you can highlight the
message header in the folder's message header list and if you press "delete"
it moves the message to the Deleted folder, but if you press "SHIFT-DELETE"
the message is just deleted without moving it to the deleted folder?

-Ben.
 
P

Paul Berkowitz

What Keyboard combination command deletes a message without moving it to the
Deleted folder?

For example, in Outlook and in many other MUA's you can highlight the
message header in the folder's message header list and if you press "delete"
it moves the message to the Deleted folder, but if you press "SHIFT-DELETE"
the message is just deleted without moving it to the deleted folder?

None. But you could run an AppleScript and give that a keyboard shortcut.
Save


tell application "Microsoft
try
set theMsg to item 1 of (get current messages)
on error
beep
return
end try
delete theMsg
try
delete theMsg
end try
end tell

in Script Editor as

Delete Absolute \comD

and save it to ~/Documents/Microsoft User Data/Entourage Script Menu Items/
folder. Then any time you press ctrl-opt-cmd-D on a selected message(s) it
will delete completely. It works for POP messages, not IMAP or Hotmail.

To give it a different key combo, see "About the script menu" in Help.
 
T

tbatst

I've used the Delete Completely Apple Script for years. Not sure who
wrote it, but here's the code:

on run
tell application "Microsoft Entourage" to set messageList to the
current messages
tell application "Microsoft Entourage"
try
display dialog "Delete Selected Messages?"
if button returned of result is "OK" then
try
repeat with k from 1 to the number of items in messageList
move item k of messageList to folder "Deleted Items"
delete item k of messageList
end repeat

on error the error_message
--display dialog the error_message
end try
end if
end try
end tell
end run


I have it set with a \c` at the end, so Control-tilde runs it. I use it
every time I check my mail! Love it.
 
B

Ben Russo

Thanks, I just tried your script suggestion.
When I run the script Entourage displays the "Delete Selected Messages?"
dialogue window, and then when I click on the "OK" button I get an error
that says "this message is online and the operation is not yet supported"
(OK)

That's it, after I click the OK button nothing happens.

-Ben.
 
J

Jim Cowan

Thanks very much, but
I keep all my mail on an IMAP server.
I finally decided to use the attached tip "How to empty Deleted items folder
on exit". I scheduled it to delete a couple of times a day, and it works
great.
 
R

rgroup

I could not save it as is, but when I added:

Entourage"

to the first line, making it;

tell application "Microsoft Entourage"'

it worked great on my POP mail. For a small number of messages, it's
quicker and easier than selecting the messages and running Nuke
Messages. On my IMAP account, however, it works the same as the Delete
key, just moving the message to the Deleted Items folder.

Thanks again, Paul!
 
R

rgroup

I could not save it as is, but when I added:

Entourage"

to the first line, making it;

tell application "Microsoft Entourage"'

it worked great on my POP mail. For a small number of messages, it's
quicker and easier than selecting the messages and running Nuke
Messages. On my IMAP account, however, it works the same as the Delete
key, just moving the message to the Deleted Items folder.

Thanks again, Paul!
 
B

Barry Wainwright

I could not save it as is, but when I added:

Entourage"

to the first line, making it;

tell application "Microsoft Entourage"'

it worked great on my POP mail. For a small number of messages, it's
quicker and easier than selecting the messages and running Nuke
Messages. On my IMAP account, however, it works the same as the Delete
key, just moving the message to the Deleted Items folder.

Thanks again, Paul!

That is expected - the double delete won't work on IMAP if you have a 'move
to deleted items folder' set as the delete model. This is due to a
limitation of the IMAP protocol in that it doesn't return a message id when
the message is moved.
 
Top