KeyboardDisable() action
New in 4.0
The KeyboardDisable() action modifies the disabling of the keyboard while a script is running.
Normally, the keyboard is disabled while a script is running, and is automatically re-enabled when it completes.
Parameters
KeyboardDisable() takes 1 parameter.
- true
- Disable the keyboard explicitly. This would be used by an external script or a script that was started with the -nolock option of the Script() action, if it wants to explicitly disable the keyboard during some phase of its operation.
- false
- Disable the keyboard explicitly. This would be used by an external script or a script that was started with the -nolock option of the Script() action, if it wants to explicitly re-enable the keyboard during some phase of its operation.
- forceenable
- Re-enable the keyboard, even though a script is still running. This is used to deal with a misbehaving or stuck script.