• 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: Michelle Steiner <email@hidden>
  • Date: Wed, 11 Mar 2009 10:26:43 -0700

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)

"as string" isn't necessary; in fact, I'm surprised that it works.  The dictionary specifies integer for that parameter.

-- Michelle

-- 
We're given a choice in our lives, to make things better, or worse, or merely endure like Sheep.  I choose to make things better, as much as I can.
-- Mercedes Lackey

 _______________________________________________
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

References: 
 >Setting speaker level (From: Oakley Masten <email@hidden>)
 >Re: Setting speaker level (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Setting speaker level
  • Next by Date: Re: Get List of window PC's in the network
  • Previous by thread: Re: Setting speaker level
  • Next by thread: Re: Setting speaker level
  • Index(es):
    • Date
    • Thread