• 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 11:28:32 -0500

on 11/15/01 10:27 AM, Connor W. Anderson at email@hidden wrote:

> What I cannot figure out is when I run this script, it does nothing. In
> Script Debugger the only result is "beep 1" but the system does not beep.
>
> This is all being done under OS 9.0.4, AppleScript version 1.4 which should
> be fine.
>
> What Am I Missing Here?

The idle handler is working correctly. I just tried it in AppleScript 1.7
under Mac OS X 10.1.1, and added a display dialog in each branch of the 'if'
test in the idle handler, and also in each of the script objects. The
resulting dialogs progressed properly through Stage 1, Stage 2, and Stage 3,
then back to the beginning.

What isn't working is the beeps. The simple script 'beep 2' or 'beep 3' only
beeps once. I just verified this in AppleScript 1.7. How could it not work
in AppleScript 1.4 and 1.7? My old Script Additions guide says this is
proper syntax. I'm missing something here, myself.

--

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


  • Follow-Ups:
    • Re: Idle handling, just not grokking it.
      • From: Bill Briggs <email@hidden>
References: 
 >Idle handling, just not grokking it. (From: "Connor W. Anderson" <email@hidden>)

  • Prev by Date: Re: Facespan and Mac OS X
  • Next by Date: Re: weird clipboard behaviour
  • Previous by thread: Idle handling, just not grokking it.
  • Next by thread: Re: Idle handling, just not grokking it.
  • Index(es):
    • Date
    • Thread