Rule making...

F

FW

Why don't they make making a RULE easier in Entourage. I'd like to just
highlight an email I received and then hit a button and have a set of RULE
options come up, with the person's email address already highlighted etc. Is
there some way to do this?
 
P

Paul Berkowitz

Why don't they make making a RULE easier in Entourage. I'd like to just
highlight an email I received and then hit a button and have a set of RULE
options come up, with the person's email address already highlighted etc. Is
there some way to do this?

You seem to assume that every rule refers to a specific sender. There are
about 200 other types of Rule people make, so they wouldn't be too happy
with that default. It's usually a very cumbrous sort of rule that refers to
individuals, although it is sometimes necessary, of course.

With a message from the sender selected, go to

Tools/Rules/New. Change "All messages" to "From" and you will indeed see
the person's email address already entered and highlighted. There's no way
to automate the first steps - the toolbar is already crammed with 12 buttons
- except by a special sort of new applescript available only in Panther.
First you have to go (just this once) to System Preferences/Universal
Access, and check "Enable access for assistive devices."

Then Save this script in Script Editor, saving it to teh Entourage Script
Menu Items folder in Microsoft User Data Folder. To be able to access it by
the keyboard shortcut control-R, name it like this:

Make New Rule \cR

(You can make your own shortcut. See "AppleScript" in the Help.)

--------------

tell application "Microsoft Entourage" to activate

tell application "System Events"
tell process "Microsoft Entourage"
click menu item "Rules" of menu "Tools" of menu bar item "Tools" of
menu bar 1
--delay 0.1
click radio button "Mail (POP)" of tab group 1 of window "Rules"
--delay 0.1
click menu item "Rule" of menu 1 of menu item "New" of menu "File"
of menu bar item "File" of menu bar 1

end tell
end tell

--------------------

This gets you as far as having to change "All messages" to "From" by
yourself. That one can't be done by script.

If it executes too fast for the display remove the "--" symbols before
"delay 0.1". Actually in Panther you can experiment with 'delay 0.2' etc.

--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: http://www.entourage.mvps.org/toc.html

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.
 
Top