• 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: Temporary sound control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Temporary sound control


  • Subject: Re: Temporary sound control
  • From: Nigel Garvey <email@hidden>
  • Date: Sun, 02 Jun 2013 09:39:49 +0100

Christopher Stone wrote on Sat, 01 Jun 2013 17:12:02 -0500:

>As far as I know there's no (un)mute function per se.
>
>This is about as terse as I can get it.
>
>if output muted of (get volume settings) = false then
>	set volume with output muted
>else
>	set volume without output muted
>end if
>
># Throw error to demonstrate sound
>0 / 0

This is quite terse:  :)

  set volume output muted not ((get volume settings)'s output muted)

  # Make a sound to demonstrate sound
  beep


NG


 _______________________________________________
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: Temporary sound control
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Temporary sound control
  • Next by Date: Re: Temporary sound control
  • Previous by thread: Re: Temporary sound control
  • Next by thread: Re: Temporary sound control
  • Index(es):
    • Date
    • Thread