<

On-Screen Display for CapsLock State (On or Off)

Posted on
13,109 Points
9 Views
1 Endorsement
Last Modified:
Experience Level: Beginner
5:26
Joe Winograd
50+ years in computer industry •Everything from development to sales •CIO •Windows •Document Imaging •EE MVE 2015,2016,2018 •EE FELLOW 2017
In a thread here at Experts Exchange, a member posted this question:
I use a wireless keyboard. I need a utility that will constantly display the state of the caps lock key on my monitor. ... Can anyone recommend a program that will accomplish this for me?
The AutoHotkey program that I present in this video (called CapsLockOSD) accomplishes the task.

Update on 19-May-2019: I enhanced CapsLockOSD with two features: (1) the ability to create a stand-alone executable (an EXE file) that can run on a system without AutoHotkey installed and (2) an option to run automatically whenever Windows starts. If you require either of these new features, please visit my new video Micro Tutorial:

On-Screen Display for CapsLock State (On or Off) - Enhanced

However, please view this video first, as it lays the groundwork for the new video. Of course, if you do not require either of the new features, you may stick with the version presented in this video.

Video Steps

1. Download and install AutoHotkey


If you do not already have AutoHotkey installed, read this Experts Exchange article:
AutoHotkey - Getting Started

2. Download the CapsLockOSD program and the icon files


Download the plain text CapsLockOSD.ahk file attached to this Step.

Download the CapsLockOFF.ico and CapsLockON.ico icon files attached to this Step.

Put all three files in the same folder.

CapsLockOSD.ahk
CapsLockOFF.ico
CapsLockON.ico

3. Run the CapsLockOSD program


In Windows/File Explorer (or whatever file manager you use), double-click the CapsLockOSD.ahk file to run it.

The above works because a standard installation of AutoHotkey (done in Step 1) associates the AHK file extension with the AutoHotkey program.

4. Test Toggling CapsLock


Left-click the CapsLockOSD icon in the system tray — confirm that CapsLock changed state and that the tray icon and tray tip are correct.

Press the CapsLock key on the keyboard — confirm that CapsLock changed state and that the tray icon and tray tip are correct.

Right-click the CapsLockOSD icon, then left-click Toggle CapsLock — confirm that CapsLock changed state and that the tray icon and tray tip are correct.

5. Test Exiting CapsLockOSD


Right-click the CapsLockOSD icon, then left-click Exit — confirm that CapsLockOSD terminated.

That's it! If you find this video to be helpful, please click the thumbs-up icon below. Thank you for watching!
1
0 Comments

Featured Post

Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

An EE member wants to move all open windows at once (not one window at a time) from a primary monitor to a secondary one by pressing a hotkey. Bonus: another hotkey that goes in the other direction — move all windows from the secondary to the primar…
This is yet another bitlocker article. I will cover only a very small aspect: the pre-provisioning process. Without getting technical, this process means “turning on bitlocker before anything else”.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month