Re: Stoping the script until "Enter" is pressed?
Re: Stoping the script until "Enter" is pressed?
- Subject: Re: Stoping the script until "Enter" is pressed?
- From: "Arthur J Knapp" <email@hidden>
- Date: Tue, 13 Feb 2001 17:18:30 -0500
>
Date: Tue, 13 Feb 2001 11:08:04 -0600
>
Subject: Re: Stoping the script until "Enter" is pressed?
>
From: Jolly Roger <email@hidden>
>
on WaitForKey(char)
>
set keyPressed to false
>
repeat until keyPressed
>
set iState to input state
Uh...
>
Note: this may not work on older systems - I am not sure how far back the
>
"input state" command is supported.
If you are referring to vanilla AppleScript, there is no "input state"
command.
Jon's Commands has a "keys pressed" command, and I'm sure that
Akua and Tanaka probably have similar commands.
--
{
Arthur J Knapp, of STELLARViSIONs ;
http://www.STELLARViSIONs.com ;
mailto:email@hidden ;
http://developer.apple.com/techpubs/
macos8/InterproCom/AppleScriptScripters/
AppleScriptLangGuide/
}