Re: set volume
Re: set volume
- Subject: Re: set volume
- From: Rhostik <email@hidden>
- Date: Thu, 18 Dec 2003 14:15:00 +0000
On 15 Dec 2003, at 08:53, Takaaki Naganoya wrote:
On 03.10.30 3:42 AM, "Robert Poland" <email@hidden> wrote:
hi,
The "set volume" command seems to have changes with Panther.
If I watch the "Output Volume" in the Sound Preference panel the "set
volume" only moves from about 20% to about 60%.
Is there a new way to effect the "Output and Alert" sound volumes?
I think it is a bug.
Such a change will make trouble with us.
Now, I'm making Japanese voice commander by AppleScript Studio.
During voice recognition, I want to set sound output level down and if
it
finished, I want the sound level to return to the original level.
But the sound level had been kept calm....against "set volume 7".
I've noticed this too. But you can use Jon's Commands OSAX to "set
sound volume" to an integer in the range 0 - 256
The settings are a bit strange and I can't work out the formula but,
19 = mute
70 = mid volume
256 = full volume
Try this:
set oldVol to sound volume --Jon's Command OSAX
beep 2
display dialog (oldVol)
set sound volume to 185
beep 2
display dialog (sound volume)
set sound volume to oldVol
beep 2
display dialog (oldVol)
set volume 4 -- Apple Standard Additions
beep 2 -- No sound!
get sound volume
Cheers
-Ian
_______________________________________________
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.