How to PEEK Status of COMMAND, SHIFT, CAPS LOCK, OPTION Keys (51658)
The information in this article applies to:
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0
- Microsoft BASIC Compiler
- Microsoft BASIC Interpreter for Apple Macintosh 2.0
- Microsoft BASIC Interpreter for Apple Macintosh 2.1
- Microsoft BASIC Interpreter for Apple Macintosh 3.0
This article was previously published under Q51658 SUMMARY
This article provides a sample program where the PEEK function returns
the up (inactive) or down (active) status of the COMMAND, SHIFT, CAPS
LOCK, and OPTION keys for Apple Macintosh computers. You can poll the
PEEK function in a loop to detect the changing status of these keys.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB51658 |
---|
|