However, in order for the user to be able to use BlueZone when the process is finished, you must unlock the keyboard To
unlock the keyboard, an external process can call the
LockKeyboard( False ) method of the BlueZone Host Automation Object as shown in the example below.
Note
If BlueZone is playing a script or macro, BlueZone auto-unlocks the keyboard when the script or macro completes. The
LockKeyboard( False ) method is only needed to unlock the BlueZone keyboard when a process external to BlueZone has completed.
Parameters
Returns
0 for success; or a non-zero error code. Refer to
Error codes for a complete listing of error code descriptions.
Remarks
Setting to True locks the keyboard and setting it to False unlocks the keyboard.
Example
Set Host = CreateObject( "BZWhll.WhllObj" )
Host.Connect "A"
Host.LockKeyboard( False )
Host.MsgBox( "The keyboard has been unlocked! BlueZone is ready for your input.", 0 )