• 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: Applescript to mute sound at shutdown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript to mute sound at shutdown


  • Subject: Re: Applescript to mute sound at shutdown
  • From: Nigel Garvey <email@hidden>
  • Date: Tue, 17 Jul 2001 11:47:00 +0100

Andy Wylie wrote on Tue, 17 Jul 2001 16:16:28 +1200:

>on 17/7/01 1:18 pm, Nigel Garvey at email@hidden wrote:
>
>> set volume 0
>> beep
>>
>> I don't know if the 'beep' forces the issue or what. Anyway, it's not
>> heard and neither is the subsequent startup chime.
>>
>I suspect it does force it Nigel, I could never get Standard Additions 'set
>volume' to work reliably and turned to Jon's Commands 'set sound volume'
>which was equally unreliable until I put 'set x to sound volume' at the end
>of the script.
>I wonder what could be used to force 'set volume' when increasing though
>I'll stick with Jon's as '1 with large range' is my preferred level.

Yes. You really need a silent beep for this. ;-)

After resetting the volume in a startup script (without a beep), I find
that it sometimes takes half a second or so to open the sound level
module in the control strip - but that when it does open, the level has
indeed been reset. I suspect that the issue's forced by the first sound
that the computer tries to make after the script executes.

[OT:]
Thinking about a silent beep made me try this, which seems to work:

set volume 3
beep 0 -- or any negative integer

... though unfortunately it doesn't "force the issue" in the current
situation. If you supply 'beep' with a fractional number instead of an
integer, it beeps to the nearest (IEEE-style) integer. :-)

NG


  • Prev by Date: Re: Is there any way to stop monitor refreshing
  • Next by Date: Re: brief history of AS
  • Previous by thread: Re: Applescript to mute sound at shutdown
  • Next by thread: New Quark Pages
  • Index(es):
    • Date
    • Thread