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

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

  • Follow-Ups:
    • Re: Q: Using (sound) volume settings
      • From: Emmanuel <email@hidden>
References: 
 >Q: Using (sound) volume settings (From: Jim Witte <email@hidden>)
 >Re: Q: Using (sound) volume settings (From: Kurt Klamp <email@hidden>)

  • Prev by Date: Re: Q: Using (sound) volume settings
  • Next by Date: Re: A Better Regex
  • Previous by thread: Re: Q: Using (sound) volume settings
  • Next by thread: Re: Q: Using (sound) volume settings
  • Index(es):
    • Date
    • Thread