• 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: Christopher Stone <email@hidden>
  • Date: Sat, 01 Jun 2013 17:12:02 -0500

On Jun 01, 2013, at 16:42, Robert Poland <email@hidden> wrote:
Is there some magical incantation (shell script) to temporarily mute(?) the system sound as part of a script.
______________________________________________________________________

Hey Bob,

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

--
Best Regards,
Chris

 _______________________________________________
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:
    • Temporary sound control (boot chime)
      • From: DaveC <email@hidden>
    • Re: Temporary sound control
      • From: Robert Poland <email@hidden>
References: 
 >Temporary sound control (From: Robert Poland <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