Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1682

_Inkey from 4UTILS

$
0
0
Hey @vefatica,
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...

Read more

Viewing all articles
Browse latest Browse all 1682

Trending Articles