• 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: Idle handling, just not grokking it.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Idle handling, just not grokking it. (From: Christopher Nebel <email@hidden>)

  • Prev by Date: FMP custom menu via AppleScript still not resolved...
  • Next by Date: Re: Script Menu and "front" property
  • Previous by thread: Re: Idle handling, just not grokking it.
  • Next by thread: Re: Idle handling, just not grokking it.
  • Index(es):
    • Date
    • Thread