Re: beep broken in 10.2?
Re: beep broken in 10.2?
- Subject: Re: beep broken in 10.2?
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 17 Sep 2002 15:31:43 -0400
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
>
least it seems so to me. It still appears in the Standard Additions
>
dictionary, so I don't think it was intentionally removed or anything, but
>
it sure doesn't work like it used to (or is supposed to).
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. I suspect the
truth is a little more complex than that. And surely the beep command in
Standard Additions could by now have been rewritten to insert a pause
between the beeps.
In any event, it's a system-level issue, not an AppleScript issue. The same
thing happens when sounding a system beep repeatedly in a Cocoa application.
Carbon, too, I assume, but I know it's true in Cocoa from personal
experience. 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.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.