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}"