<

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

Posted on
16,235 Points
35 Views
2 Endorsements
Last Modified:
Published
Experience Level: Beginner
5:26
Joe Winograd
50+ years in computers
Development•Sales
CIO•Document Imaging
EE — FELLOW 2017
MVE 2015,2016,2018
RENOWNED 2018,2019
CERTIFIED GOLD 2020
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!
2
0 Comments
Most of us live by Coffee. However, are you disguising the flavor of cheap store-bought grounds (or worse, k-cups) with chemical-induced creamers?  There is a much better option, and it is easier than you think!
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 7.0 (ESXi 7.0) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2019 instal…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month