summary: Mute not scriptable?
summary: Mute not scriptable?
- Subject: summary: Mute not scriptable?
- From: Robert Poland <email@hidden>
- Date: Wed, 21 Jan 2004 18:16:12 -0700
Hi,
From the response I received, "Mute" is not programmable.
Cure: Don't program sound volume to 0, leave it a little above, like 1.
My thanks to those who responded,
I'm trying to run this script, with no success.
----
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.sound"
end tell
tell application "System Events" to tell process "System
Preferences" to tell window 1
tell checkbox "Mute" to if value is 1 then
repeat until value is 0
click
end repeat
end if
end tell
----
tell checkbox "Show volume in menu bar" works fine but tell
checkbox "Mute" gives the error; "System Events got an error:
NSRecieverEvaluationScriptError: 4"
System Preferences dictionary was no help.
Command "set soundVolume to N" doesn't override Mute.
iMac FP 800, OS 10.3.2.
Tia,
--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.