en:autorun:documentation:runtime_ispressed
IsPressed
IsPressed (<vkey>)
Returns the current state of the pressed key.
Options
vkey | Virtual key code according to table. |
Return value
1 if the key is pressed, 0 if not. If vkey is incorrect, ERROR is set to 1.
Example
# if the Ctrl key is pressed If IsPressed (0x11) Then ...
en/autorun/documentation/runtime_ispressed.txt · Последнее изменение: 2022/09/26 15:06 — loopback