Simulates keyboard inputjm_keys
- A logical key or string to push onto the input queue. Arguments can be space or comma-delimited. Strings are enclosed by single or double quote characters. Logical keys are defined in
smkeys.h. For a complete list of Panther logical keys, refer to Table 6-1 in Configuration Guide.
jm_keyspasses its arguments to
sm_ungetkeyin reverse order, list them in their actual input sequence. You can specify up to 20 arguments.
jm_keysqueues the specified characters and function keys for input to the runtime system through successive calls to
sm_ungetkey. The runtime system then be haves as though you had typed the keys or strings.
For a single call to
jm_keys, list items in input order. Items in a single call are placed on the input queue in right to left order; the keyboard stack then processes items by last in, first out (LIFO) order.
For example, the following single call to
jm_keysenters a string value into the current field, then tabs to the next field and enters a number value into it:^jm_keys 'Steinway Brauhall', TAB, "104"
Successive calls to
jm_keysplace additional items on the input queue; the keyboard stack processes the last item first. For example, the following three calls:jm_keys "One"
would output the following keyboard sequence:ThreeTwoOne