On 8/6/04 7:31 AM, in article BD390E9F.3325C%sangle@wesleyan.edu, "Steve
Angle" wrote:
> I have computers in different offices, and leave some messages (but not all)
> on the server so that I can retrieve them (via POP/Entourage 2004) at the
> appropriate office. With Eudora, I could set a filter to move messages
> matching various criteria to a mailbox *and* delete them from the server.
> (For instance, I only keep mailing list messages on one of my computers.)
> But I cannot find a way to do this in Entourage; I end up having to delete
> messages from the server manually. I have seen Paul Berkowitz's "Delete from
> Server" script, but that only seems to delete them when the messages are put
> in "deleted items"; I'd like a (simpler?) script that I could use in a rule.
>
> Thanks for any help! I wish I knew how to write these things myself.
I'm not quite clear as to whether you want a rule that both moves messages
meeting certain criteria to a folder and deletes them from the server _at
the moment they are received_ (when rules usually run). I think so. If so,
the most versatile way to do that, allowing you to make several different
rules of the same type, would be to make a rule or rules that:
If
<whatever criteria you want>
Then
<Move message> to <Choose folder>
<Run AppleScript> <See script>
The script would be the following, saved by Script Editor to your Script
menu Items folder:
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
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.
PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
>> Stay informed about: Applescript to delete from server?