• 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: beep broken in 10.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beep broken in 10.2?


  • Subject: Re: beep broken in 10.2?
  • From: "Arthur J. Knapp" <email@hidden>
  • Date: Wed, 18 Sep 2002 09:36:16 -0400

> Date: Tue, 17 Sep 2002 15:31:43 -0400
> Subject: Re: beep broken in 10.2?
> From: Bill Cheeseman <email@hidden>

> on 02-09-17 2:09 PM, Matt Riley at email@hidden wrote:
>> However, I just discovered yesterday that "beep" is broken under 10.2. At

> This was discussed when Mac OS X first arrived. The official explanation was
> that modern machines and the operating system are so fast that the two or
> three beeps -- asynchronous under Mac OS X, I guess -- are sounded
> simultaneously, so they come out sounding like a single beep. ...

> ... The cure there, as in AppleScript, is to put individual beep
> commands in a repeat statement, or in line, with a short pause between them.
> "Delay 1" will do the job but may be too long a pause.

I'm not currently running under OS X, but here are some handlers that I
play with for achieving delays under a second:

on DelayHack(n)
repeat (n) times
"" & pi
end repeat
end DelayHack

on BeepN(n)
repeat (n) times
beep
repeat (3000) times
"" & pi
end repeat
end repeat
end BeepN

on BeepNM(n, m)
repeat (n) times
beep
repeat (m) times
"" & pi
end repeat
end repeat
end BeepNM


If you are in an office of "quiet people" like me, you will want to turn
your volumn down before running this:

BeepNM(3, 1000)

DelayHack(10000)

BeepNM(3, 2000)

DelayHack(10000)

BeepNM(3, 3000)

DelayHack(10000)

BeepNM(3, 4000)

DelayHack(10000)

BeepNM(3, 5000)

DelayHack(10000)

BeepNM(3, 10000)


{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Every Process on Remote OS X machine
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: beep broken in 10.2?
  • Next by thread: mount volume
  • Index(es):
    • Date
    • Thread