On 6/25/07, Mike Hughes <[EMAIL PROTECTED]> wrote:
I'm trying to manipulate the alert volume on my Mac via an AppleScript in
Revolution. I try this:
set volume alert volume 0
and this command works perfectly fine in AppleScript's Script Editor.
However, when I try it in Revolution in the msg box:
do "set volume alert volume 0" as AppleScript
I get a compiler error! What's up with that?
It works fine here Mike. Is there some strange character that might
have crept in? Are you trying to do another AppleScript at the same
time?
You might like to test it in a button, perhaps making it two lines:
on mouseUp
put "set volume alert volume 0" into tAS
do tAS as AppleScript
end mouseUp
Cheers,
Sarah
P.S. I notice that the System Preference display does not update live.
You have to go to a different pane and then back to Sound to get it to
show the new setting.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution