Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Flashing Lights

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 👍
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}"
(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?
(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
(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.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by ManipulateJul 20, 2016 11:59 PM 1 408 Jul 20, 2016 11:59 PM
Last Post: Devv
[Shell] by cogamaJul 8, 2016 02:15 PM 4 122 Jul 8, 2016 02:15 PM
Last Post: cogama
[.NET] by Shenagan-Hack-TeamFeb 14, 2015 11:57 AM 24 1,256 Feb 14, 2015 11:57 AM
Last Post: ᴄᴍxᴄᴠ