• 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: Stoping the script until "Enter" is pressed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Stoping the script until "Enter" is pressed?
      • From: Jolly Roger <email@hidden>
  • Prev by Date: Re: Hidding process of AppleScript application
  • Next by Date: Re: Stoping the script until "Enter" is pressed?
  • Previous by thread: Re: Stoping the script until "Enter" is pressed?
  • Next by thread: Re: Stoping the script until "Enter" is pressed?
  • Index(es):
    • Date
    • Thread