Skip to main content

Automatic Caps Lock Toggle

You must have seen blogs and personal profiles where a lot of girls (and maybe a few guys, but I'm not one among them) type lIkE tHiS? Have you wondered how they manage to do the tedious task of pressing and leaving the Shift key for every alternative letter?

Well (on the other hand) are you one of those girls (and guys) who do that, like to do that, but are so frustrated that you have to do that to get that "beautiful blog page" you got? Fear not, for help is here.

I created this Automatic Caps Lock Toggle application (or ToggleCaPs, for short) in Visual Basic. It is also (a bit) intelligent as it only toggles Caps Lock when you type alphabetic keys (A-Z). You can download it by clicking here. Just extract the ZIP file into a folder and run the ToggleCaPs application. Create a shortcut to it on the Desktop if you like it!

Note that this application does not contain any virus. But since it does keyboard hooking, your anti-virus may warn that it could be a virus. Do not be alarmed! Add the dll file as an exception. (Keyboard hooking maybe used by virus applications to monitor your keyboard presses system-wide. My application also does this, however it is not with any malignant intent.)

I didn't do all the work in making that Caps Lock Toggle Application though. Credits go to Konstantin Tretyakov for some parts of the code. I had to merge two seperate code sets together and remove unnecessary parts to get this working. They are, for your reference:
1. Toggle CapsLock Key
2. Key Logger Based on a Global Keyboard Hook.
PS: If you are a developer and want the code for ToggleCaPs, drop me a comment.

HaPpY tYpInG!!!


  1. Note that this application does not contain any virus. But since it does keyboard hooking, your anti-virus may warn that it could be a virus. Do not be alarmed!

  2. What would be REALLY handy is if you could auto reverse caps lock - I've posted on facebook, coded and Skype chats where Caps is on and I end up with hEY MATE HOW'S THINGS? If your program could decide if lower is first followed by all characters then switch caps off and replace the previous word (backspace x times and paste in correct version) that would be cool - Would need a stop list for words like uPVC, uPNP etc

  3. Martin Parry, actually Windows includes such a feature already.

    Control Panel > Region and Language > Keyboard and Languages (tab) > Change keyboards... > Advanced Key Settings (tab) > Press the SHIFT key (radio button) > OK > OK.

    Now, when you press CAPS LOCK, the Caps will only be turned on. It will not be turned off when you press CAPS LOCK again. BUT when you press (or hold) the Shift key, if the Caps is already on, it will be turned off PLUS Shift will behave as normal, which means you can type Like This even if Caps was on.


Post a Comment

Comments are moderated, and are usually posted within 24 hours if approved. You must have a minimum of OpenID to post comments.

Popular posts from this blog

Disable auto save in JetBrains IDE software (IntelliJ IDEA, PyCharm, PhpStorm)

JetBrains provides the following IDE software:
IntelliJ IDEAPhpStormPyCharmRubyMineWebStormAppCodeCLion Google also provides Android Studio which is powered by the IntelliJ platform.

If you come from a different IDE such as Eclipse, you will be unpleasantly surprised to find that JetBrains-branded IDEs automatically save everything the moment you look away. The proponents argue that as you work on your project, you should not have to worry about saving files. But to others, this auto-save behavior which is enabled by default is a curse that catches them by surprise, and a shocking departure from the workflow they are very much used to.

You can change the behavior by altering some settings.

Stop having to click Unblock on every downloaded file

CAUTION: The blocking of downloaded files in Windows is a security and safety feature to help prevent your computer from being infected by viruses and other malware. Only disable this feature if you know what you're doing.

I had been plagued by this annoyance since the days of Windows Vista. Any downloaded file, no matter what browser I use, gets tagged as "blocked" by Windows. You can open downloaded documents even though they are blocked, but when you run a downloaded application (such as a setup file) you're presented with a "Security Warning" before you're allowed to run it. It's worse if you extract a downloaded ZIP file with the Windows' built-in ZIP management. Every extracted file is blocked by default.

Being a geek who finds unnecessary "security" prompts annoying, the first thing I do in Windows is to disable the User Account Control (UAC). But I couldn't quite figure out how to disable blocking of downloaded files until …

Setting up a local Oracle XE database and importing DMP file

The experience of setting up a local Oracle Express Edition database is not a straight-forward as it should be. The following is supposed to outline what could go wrong and how to go about it the right way. It also includes importing a DMP file (a dump) from another system.
First of all, download the installer from Oracle website. You will need to sign-in to download - the account creation is free. Be sure to choose the correct bit as per your computer (x64 or x86).Extract the download and install XE by running DISK1\setup.exe (and feel nostalgic of the floppy disk era). During installation, you will need to choose a new password. There will also be some details displayed after you enter the new password, such as folders and ports.Be sure to save both password and details in a text file for future reference.I saved it as C:\oraclexe\details.txt.Save password only if it's generic and you are likely to forget. The installation will take a while, but usually, no restart is necessary.O…