• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting speaker level
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Setting speaker level
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Get List of window PC's in the network
  • Next by Date: Re: Setting speaker level
  • Previous by thread: Re: Setting speaker level
  • Next by thread: Re: Setting speaker level
  • Index(es):
    • Date
    • Thread