Re: Temporary sound control
Re: Temporary sound control
- Subject: Re: Temporary sound control
- From: Robert Poland <email@hidden>
- Date: Sat, 01 Jun 2013 16:54:05 -0600
Thanks Chris,
That's what I wanted.
I didn't try that cause I expected mute to affect the volume settings.
On Jun 1, 2013, at 4:12 PM, Christopher Stone <email@hidden> wrote:
> 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
Robert Poland - Fort Collins, CO
_______________________________________________
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