rules: "do not apply other rules" greyed-out when applescriptselected

P

Peter Minter

first - thanks for the replies to previous questions

a new issue:

i wish to play a sound on receipt of all new messages, so am using a rule
which runs an applescript that looks up and plays a sound whenever a new
message comes in.

unfortunately this choice seems to override the 'do not apply other rules to
messages' check box by forcing it to 'checked' and then greying it out...
this then means that my other rules are ignored...

i can uncheck the choice, but as soon as i choose 'run applescript' in the
add action space, it auto re-selects it and greys it out

can anyone help me here? i want to play the applescript but also be able to
subsequently apply other rules

thanks!
 
S

somedumbguy

I believe that invoking an AppleScript stops the application of subsequent
rules to a message. I don't think that there's anything you can do to avoid
this behavior. But do you really need an AppleScript to do this? One of the
available actions when setting up a rule is "Play Sound."
 
P

Peter Minter

thanks for your thoughts

personally, i don't like the microsoft custom sounds

i want my machine to play a sound-bite i have recorded of HAL (from 2001 A
Space Odyssey) saying "There is a message for you"

in order to do this, i have a script which will look up the sound and play
it. i haven't found any way to play a custom sound in entourage prefs...
maybe there is another way!

but - tell me - why does an applescript stop the application of subsequent
rules? this is intriguing

thanks again
 
D

Dave Cortright

also - anyone know a shortcut key for applying all rules?...

You can make one yourself if you have OS 10.3. Go to the System Preferences
(in the Apple menu), click Keyboard and Mouse, click the Keyboard Shortcuts
tab, and then add a shortcut for any Entourage menu item you wish.
 
P

Peter Minter

thanks dave - that worked perfectly - should have thought of it myself!

while i am here - do you know why actioning applescripts in rules means that
other rules aren't/can't be applied?

thanks in advance
 
D

Dave Cortright

while i am here - do you know why actioning applescripts in rules means that
other rules aren't/can't be applied?

Other rules can be applied, but they have to be above the applescript rule
in the list. Entourage forces some actions (such as running a script or
deleting the message) to be the last rule run since subsequent rules might
no longer have a message around to run against. Just move these rules to the
bottom of your list after your other rules and you'll be set.
 
P

Peter Minter

thanks! makes total sense now!


Other rules can be applied, but they have to be above the applescript rule
in the list. Entourage forces some actions (such as running a script or
deleting the message) to be the last rule run since subsequent rules might
no longer have a message around to run against. Just move these rules to the
bottom of your list after your other rules and you'll be set.
 
Top