• 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
Q: Using (sound) volume settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q: Using (sound) volume settings


  • Subject: Q: Using (sound) volume settings
  • From: Jim Witte <email@hidden>
  • Date: Sun, 19 Aug 2007 01:04:16 -0400

  This is most likely a simple question whose answer has to do with Applescript's odd coercion system:

If I run

get volume settings
--set vSet to volume settings
--get output volume of volume settings

I get the expected {output volume:32, input volume:40, alert volume:100, output muted:false}

But if I run the second line instead, I just get back the string 'volume settings'.  The third line won't even work, even though 'output volume' is a property of the returned volume settings record (nor can I set the property either).

How does one get/set the system volume?  The maddening thing is that I got this to work about a year ago, and have apparently forgotten now..

Jim

 _______________________________________________
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: Q: Using (sound) volume settings
      • From: Kurt Klamp <email@hidden>
  • Prev by Date: Re: A Better Regex
  • Next by Date: Re: Q: Using (sound) volume settings
  • Previous by thread: Re: Getting Returned Properties to the Clipboard or a Text Log
  • Next by thread: Re: Q: Using (sound) volume settings
  • Index(es):
    • Date
    • Thread