Can someone tell me the keyboard commands for the FN key and the Esc key
I'm trying to make a bat file that makes my keyboard flash colors and the way you change the colors is the Fn keu and the Esc key. I know how to do it I just need the key codes
Thanks 👍
DO NOT DEAL WITH THIS MEMBER
There are no key codes for any keys in batch, although this could be done with numbers letters or symbols using the choice command.
(Feb 2, 2014 09:15 PM)Nakamoto. Wrote: There are no key codes for any keys in batch, although this could be done with numbers letters or symbols using the choice command. I thought you can do it this way
WshShell.SendKeys "{ENTER}"
DO NOT DEAL WITH THIS MEMBER
(Feb 2, 2014 09:16 PM)Jack_Soff Wrote: I thought you can do it this way
WshShell.SendKeys "{ENTER}"
That is not batch though, not sure what that is. VBS maybe?
(Feb 2, 2014 09:18 PM)Nakamoto. Wrote: That is not batch though, not sure what that is. VBS maybe? Oh damn you're right, well do you know any ways to do this?
DO NOT DEAL WITH THIS MEMBER
(Feb 2, 2014 09:20 PM)Jack_Soff Wrote: Oh damn you're right, well do you know any ways to do this?
Depends, are you wanting it in only batch and if so can you use other keys besides the two you listed?
(Feb 2, 2014 09:21 PM)Nakamoto. Wrote: Depends, are you wanting it in only batch and if so can you use other keys besides the two you listed? No it can be in any language I just thought it would be the easiest in batch
DO NOT DEAL WITH THIS MEMBER
(Feb 2, 2014 09:24 PM)Jack_Soff Wrote: No it can be in any language I just thought it would be the easiest in batch
Well with batch you could do
Code @echo off&title Colorful
:loop
choice /c 12 >nul
if %errorlevel%==1 color a0
if %errorlevel%==2 color d0
goto loop
(Feb 2, 2014 09:40 PM)Nakamoto. Wrote: Well with batch you could do
Code @echo off&title Colorful
:loop
choice /c 12 >nul
if %errorlevel%==1 color a0
if %errorlevel%==2 color d0
goto loop
I don't know why but it didn't work
(Feb 2, 2014 09:45 PM)Jack_Soff Wrote: I don't know why but it didn't work
How does it not work? Lol. Save as .bat. Open. Press 1 or 2. Easy.
I think what he means is for his keyboard to flash colors not the batch file itself. -> "makes my keyboard flash colors"
(Feb 2, 2014 10:33 PM)Gone1900 Wrote: I think what he means is for his keyboard to flash colors not the batch file itself. -> "makes my keyboard flash colors"
That sounds more like a hardware issue than a software issue. He'd have to have colored LEDs built into his keyboard, rendering this thread beyond useless.
|