<

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

Posted on
9,104 Points
4 Views
1 Endorsement
Last Modified:
Experience Level: Intermediate
5:20
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 previous video Micro Tutorial here at Experts Exchange, I presented my CapsLockOSD program, which is a utility that constantly shows the state of the CapsLock key (ON or OFF) in the system tray. This video Micro Tutorial presents a modified version of CapsLockOSD with two enhancements: (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 do not require either of these new features, you may stick with the previous version of the program.

Note: The video does not demonstrate how to compile the AHK source code into an EXE file, so I've included Steps 5 and 6 below to explain that.

Video Steps

1. View previous EE video Micro Tutorial


This video assumes knowledge of the previous video. Please view it here:
On-Screen Display for CapsLock State (On or Off)

2. Download the enhanced CapsLockOSD program and the icon files


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

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

Put all four files in the same folder.

CapsLockOSD.ahk
CapsLockOSD.ico
CapsLockOFF.ico
CapsLockON.ico

3. Test the previous features


Test all the features of CapsLockOSD as shown in my previous video to confirm that they all work correctly in this enhanced version.

4. Test the new feature that starts CapsLockOSD with Windows


Right-click the CapsLockOSD icon, then left-click Start with Windows.

Right-click the CapsLockOSD icon again and confirm that the Start with Windows menu item is checked.

Restart Windows and confirm that CapsLockOSD is running.

5. Compile the CapsLockOSD program


Read my Experts Exchange article that explains how to compile AutoHotkey source code (an AHK file) into a stand-alone executable (an EXE file):
AutoHotkey - Getting Started

Use the "more compiling options" feature explained in that article so that you will have a custom icon for the EXE file, namely, the CapsLockOSD.ico that you downloaded in Step 2.

6. Test the EXE file


Put the EXE file on a different computer — one without AutoHotkey installed.

Run the EXE file on that other computer.

Test all the features, as you did with the AHK file, to confirm that the EXE file on the computer without AutoHotkey runs the same.

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

Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Review of a small standalone freeware utility that is designed to remove the guesswork in trying to get Windows 10 (and all other versions of Windows) to boot into various Safe Mode configurations. Includes a short interview with the author of the p…
This is my 100th publication at EE — 56 articles and 44 videos. To mark the occasion, I wrote a program to download the Title, Views, Endorsements, and Points for the specified URLs of articles and videos. Based on feedback, I enhanced the program t…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month