Command KEYBOARD Foundation
Places a character string into the keyboard buffer.
The command KEYBOARD deletes all characters currently in the keyboard buffer and writes the value of <cString> into the keyboard buffer. Characters remain in the keyboard buffer until they are read or deleted. Characters are removed from the keyboard buffer by commands like READ or INPUT, as well as functions like AppEvent(), Inkey(), AChoice() or MemoEdit().
Control characters and Inkey() codes must be converted to ASCII characters using the function Chr() before they are written into the keyboard buffer. Only Inkey() and ASCII codes from 0 to 255 can be inserted into the keyboard buffer.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.