<

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

Posted on
17,332 Points
132 Views
2 Endorsements
Last Modified:
Published
Experience Level: Beginner
5:28
Joe Winograd
50+ years in computers
EE FELLOW 2017 — first ever recipient of Fellow award
MVE 2015,2016,2018
CERTIFIED GOLD EXPERT
DISTINGUISHED EXPERT
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
PHP is a popular programming language that is widely used for web development. One of the key features of PHP is its error and exception handling system, which allows developers to handle unexpected events in a structured way. In this article, we'll…
A basic task such as migrating an infrastructure service to a new OS version can be a major challenge or offer opportunities for restructuring and realignment..