Re: Idle handling, just not grokking it.
Re: Idle handling, just not grokking it.
- Subject: Re: Idle handling, just not grokking it.
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 15 Nov 2001 16:11:23 -0500
on 11/15/01 2:01 PM, Christopher Nebel at email@hidden wrote:
>
What you need to do is add some time between the beeps. "Delay" only
>
takes an integral number of seconds (gotta fix that), and one second is
>
too long, so you have to add a short do-nothing loop. On my machine (a
>
500MHz PowerBook G3), this works pretty well:
>
>
repeat 5 times
>
beep
>
repeat 50000 times
>
2 + 2
>
end repeat
>
end repeat
>
>
I'd be tempted to call this correct behavior, but it's too perverse, so
>
I'll write a bug on it.
That's hardware-dependent, so it'll never be satisfactory. By next summer's
hardware updates, your 50000 repeats will run so fast that the second beep
will start playing before the first one starts. ;-)
--
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