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 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