Title: Re: Problem setting message properties via AppleScript
on 1/19/01 3:21 PM, Andy Fragen at [EMAIL PROTECTED] wrote:

This is the script that I wrote and use. It works fine.

(*
This script will remove the selected message from the server at the next
connection; if the message still remains on the server.
Use in conjunction with the Junk Mail Filter to remove mail from
the server when checking mail from 2 locations.
*)

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

Excellent! Thanks

Jim

--
"There are no exceptions to the rule that everybody likes
to be an exception to the rule."
    - Malcolm Forbes

Reply via email to