Option Explicit
Sub Main
Dim intReturn As Integer
intReturn = Action2.LockMouse
If intReturn = 0 Then
MsgBox "Failure"
MsgBox( Action2.GetLastError )
ElseIf intReturn = 1 Then
MsgBox "Success( use keyboard to clear this message )"
End If
End Sub