Инструменты пользователя

Инструменты сайта


en:autorun:documentation:runtime_ispressed

IsPressed

IsPressed (<vkey>)

Returns the current state of the pressed key.

Options

vkeyVirtual 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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki