GetKeyState

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetKeyState


 

Whether a key is pressed.

 


syntax

GetKeyState(

         virtKey

         )

 


Parameters

 

virtKey

 

Type:

Number

 

Virtual key code. If you want to check a letter or number key, specify the ASCII code of that character.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Not pressed. TRUE - Pressed.

 


hmtoggle_plus1Explanation

 

hmtoggle_plus1Example

 


Supported


×

Script Action

○

Browser script

×

Calculation Expression Syntax

 

 


reference

 

RegisterHotKey

UnregisterHotKey