Delete from Server Script?

P

Pete C

Does anyone know if there is a script available to DELETE A MESSAGE FROM THE
SERVER w/o having to physically do it? I would like to add to my Rules a
script to do that automatically on certain messages.

Pete C
 
M

Mickey Stevens

Here's a script by Paul Berkowitz that will do it:

-- Script by Paul Berkowitz
-- From message BD38F130.6EAFE%berkowit@spoof_silcom.com
-- posted to microsoft.public.mac.office.entourage

tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set connection action of theMsg to remove at next connection
end tell

Copy this script into Script Editor (/Applications/Script Editor/) and then
save it as a script to /Users/your user/Documents/Microsoft User
Data/Entourage Script Menu Items/. Then, when you create your rule, add the
"Run AppleScript" action to the end, and choose the AppleScript you saved.
 
P

Pete C

Thank you, Mickey! It works like a charm!!! (And thank you, Paul, for
writing the script!!)

Pete C
 
Top