Hi!
Like I promised yesterday here's an UDF that changes the state of the keyboard's leds (Caps lock, Num lock & Scroll lock).
You tell the UDF which buttons to lit/unlit by BitOR'ing (or plussing ) the constants in the top of the script.
Keyboard_LED_Controller.au3
example.au3
Enjoy!