Re: Setting speaker level
Re: Setting speaker level
- Subject: Re: Setting speaker level
- From: Oakley Masten <email@hidden>
- Date: Wed, 11 Mar 2009 12:13:51 -0700 (PDT)
Thanks to Robert and Michelle for the info
On Mar 11, 2009, at 10:19 AM, Robert Poland wrote:
> tell (get volume settings) -- this line is more for a record for
> future ref.
> set {a, b, c, d} to {output volume, input volume, alert volume,
> output muted}
> end tell
> --> {50, 50, 100, false}
> set currentVolume to a as string
> ...
> set soundVolume to currentVolume as string
> set volume output volume (soundVolume)
From: Michelle Steiner
"as string" isn't necessary; in fact, I'm surprised that it works.
The dictionary specifies integer for that parameter.
-- Michelle
Michelle
Which dictionary and or what parameter name did you use.
I could not find this or I would not have had to ask.
I remember an AppleScript article from somewhere about
scripting "sound or audio" but don't remember where.
Thanks again
Oakley
_______________________________________________
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