Raised This Month: $ Target: $400
 0% 

need help with a keyboard backlight script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
megachester
New Member
Join Date: Dec 2014
Old 12-03-2014 , 17:17   need help with a keyboard backlight script
Reply With Quote #1

I have been using a script to get my numlock, scrolllock, and capslock lights to scroll. it is on my home computer. I have a Lenovo laptop with a backlight for my keyboard and you have to hold the Fn key and hit spacebar. For the life of me I cannot get any script to recognize the Fn key. I am trying to just reword my old script to work with 2 buttons pressing and unpressing to make a strobe effect. my old code is Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}

loop


new code I have been failing with is



Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{Fn}{CAPSLOCK}"



loop
megachester is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode