<

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

Posted on
17,276 Points
76 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
An honest and unbiased comparison of four popular VPN software solutions available. Includes security features offered, reliability, speed tests while connected to identical servers (where possible), additional features offered and subscription cost…
With the end of support for Windows Server 2008, it has become necessary for organizations to migrate off of this operating system. However, this can be time consuming and problematic for IT departments. This is where being able to upgrade is an adv…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month