enablekeyb

Enables/Disables keyboard inputs.

enablekeyb <flag>

Remarks

The value of <flag> should be 1 for enabling and 0 for disabling.
When the value is 0, a user can not input while the macro is sending the data.

Example

; Disabling a user input
enablekeyb 0

for i 1 5
	sendln 'date'
	wait '$'
	pause 5
next

; Enabling a user input
enablekeyb 1

sendln 'cat > /tmp/foo.txt'
pause 10
send $4   ; CTRL+D