AppleScript- Escape Key command

Is there applescript code for listening for a keystroke. An example would be to use the escape key to open a dialog to choose to exit a repeat loop.

Any keyboard input listener would work (example keystroke "p"), perhaps with an if statement.

MacBook Pro, Mac OS X (10.5)

Posted on Apr 20, 2008 9:37 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

AppleScript- Escape Key command

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.