I had a script using a ToolTip to remedy this, but was inspired by Skrommel's Start Clock script to make use of the otherwise useless Start button text. http://www.donationc...mel/#StartClock
The original script used "GoSub, Start" at the last line. I changed it to use a timer for easier integration into larger scripts.
Changes:
Added support for the Insert key.
Added #Persistent for use as a standalone script. Dashes indicate Off state, letters indicate On state. Thanks, Laszlo.
Replaced redundant If statements with Else. I had meant to do that in the first place. :oops:
Added some comments for newbies and for people like myself who need to have things spelled out for them.
#persistent ; needed only if used as a standalone script or integrated ;into a script with no hotstrings, hotkeys, or Gui commands SetTimer, Start, 100 ;Tweak Parameter 2 to change response time Start: StartButtonText = %CapsToggle%%NumToggle%%ScrollToggle%%InsToggle% /* Added the above line to prevent side-scrolling in forum On line 31, %StartButtonText% can be replaced with text after the equals sign on line 5 */ GetKeyState, CapsToggle, CapsLock, T ;Check whether Capslock is on or off If CapsToggle = U CapsToggle = - ; If Capslock is off, place dash on Start button Else CapsToggle = C ;Otherwise, display C on Start button GetKeyState, NumToggle, Numlock, T If NumToggle = U NumToggle = - Else NumToggle = N GetKeyState, ScrollToggle, ScrollLock, T If ScrollToggle = U ScrollToggle = - Else ScrollToggle = S GetKeyState,InsToggle, Insert, T If InsToggle = U InsToggle = - Else InsToggle = I ControlSetText,Button1,%StartButtonText%,ahk_class Shell_TrayWnd ; The above command is what changes the text of the Start button Return