Get Key Status
This is pre-build action located under @Generic element, instructs the Avo Assure to check num lock, caps lock, and scroll lock are ON or OFF and it will store the result in dynamic variable
Syntax
Input Value: <Toggle Key>
<Toggle Key> (Required)
Specify the of name of the toggle key whose status you want to check. Supported Text to check toggle key Status: Caps =for Caps Lock
Num=for Num Lock
Scroll =for Scroll Lock
Output Value:
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable stores the status as true or false
Example
Checks the current status of a toggle key (e.g., Caps) The Get Key Status action takes the value from the Input Value column (e.g., Caps) and checks whether the specified toggle key is currently active or not. The result of the check is stored in the {KeyStatus} variable, with the following possible values:
True – if the key status is retrieved successfully.
False – if the retrieval fails or an error occurs.

Last updated
Was this helpful?