Re: Q: Using (sound) volume settings
Re: Q: Using (sound) volume settings
- Subject: Re: Q: Using (sound) volume settings
- From: Jon Pugh <email@hidden>
- Date: Sat, 18 Aug 2007 23:33:03 -0700
At 7:27 AM +0200 8/19/07, Kurt Klamp wrote:
>get volume settings
>set vSet to get volume settings
>get output volume of (get volume settings)
Actually, the correct maneuver is:
get volume settings -- this is all one command name, including the get
set vSet to get volume settings -- this saves the result record
get output volume of vSet -- this gets one field of the record
set volume to 1,000,000,000,000 -- or a sensible value without commas in it
-- there are other parameters to "set volume" that are coincidentally the same
-- as the record: alert volume, input volume, output volume, output muted
So it's technically AppleScript's odd multitoken command names system, but whatever. ;)
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden