Encapsulates the AutoMate™ action in the “Security” group, “Lock Mouse.” The method locks the mouse.
Declaration
function LockMouse () As Integer
Parameters
None
Description
Use the LockMouse method to lock the mouse from user input. Once the method is executed, any mouse movements and clicks are discarded and not echoed to the system, effectively blocking any user interaction with the system.
To reenable the mouse, use the UnlockMouse method.
The mouse automatically unlocks itself at the end of the task to prevent accidentally locking the mouse until the next reboot.