Script Command: keyboard


(Contents)(Previous)(Next)

Format:

keyboard {ON or OFF};

This command enables or disables the keyboard in the Terminal window. Turning the keyboard off prevents a user's keystrokes from being sent to the host. PC Access automatically re-enables the keyboard when the script finishes.

Example:

// This script turns the keyboard off until

// the host sends us the "login" string, or 20 seconds

// pass.

label START;

keyboard OFF;

wait 20000 for "login" timeout goto ERROR;

send "Jim Smith^M";

keyboard ON;

end;

label ERROR;

keyboard ON;

end;


(Contents)(Previous)(Next)