- Aug
- 2,293
- 111
Hey @vefatica,
I cannot get _Inkey to recognize the spacebar;
It would be helpful if _Inkey would recognize the Spacebar (032).
Joe
I cannot get _Inkey to recognize the spacebar;
Code:
:: _inkey is from 4UTILS plugin
::
@setlocal
@echo off
do forever
set theKey=%_inkey
switch %theKey
case 0
delay /m 100
case @8
Gosub Backspace
case @13
echo Enter
leave
case @32
Gosub Spacebar
case @62
Gosub F4
endswitch
enddo
endlocal
quit
:Backspace
echo Backspace
Return
:F4
echo F4
Return
:Spacebar
echo Spacebar
Return
It would be helpful if _Inkey would recognize the Spacebar (032).
Joe