Fix

TabsLock Puts Your Browser One Keystroke Away

Windows only: Free system tray utility TabsLock launches and focuses a new tab in Google Chrome (and Firefox… keep reading) at the press of your Caps Lock key to give you, as the download page aptly puts it, “low-thought, global keyboard access to web search and navigation.” Considering how much time we spend on the web these days, a quick, easy shortcut for going straight to your browser (that’s also just off the home row) makes a lot of sense. Still want to use Caps Lock from time to time? Shift+Caps Lock toggles regular Caps Lock behaviour. Like the idea behind TabsLock but wish it worked for Firefox? Keep reading to download my own homespun solution for Firefox users.


I know Chrome is all the rage right now with all its shiny newness, but—call me old-fashioned—my undying love for Firefox hasn’t yet wavered. Since the functionality behind TabsLock is relatively trivial to implement, I decided to roll a quick alternative. If you don’t want to hear any of the details, go ahead and download TabsLock Firefox (alternate download link) and enjoy.

Still here? Okay, let’s take a quick look at how our old friend AutoHotkey came to the rescue yet again. Here’s the meat of the very simple, lightweight script (you can easily copy and paste the source minus the first three lines into your existing AHK script if you prefer that to running the system tray app).

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance force
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
Capslock::
SetTitleMatchMode, 2
IfWinExist, Mozilla Firefox
{
WinActivate
WinWaitActive
Send, ^t
}
else
Run %programfiles%\Mozilla Firefox\firefox.exe
return
+Capslock::Capslock

In a nutshell, when you hit Caps Lock, the script looks to see if you have any windows open with “Mozilla Firefox” in the title (all Firefox windows do by default in Windows). If a Firefox window already exists, TabsLock Firefox activates that window and then opens a new tab with Ctrl+T; if not, TabsLock Firefox just opens a new Firefox window altogether. Finally, the last line of the script allows you to toggle your normal Caps Lock operation when you need it by pressing Shift+Caps Lock (just like TabsLock for Chrome).

If you like this idea but have a completely different program you’d like to use it with, just edit the script to match the application you want. And if Chrome has won you over, follow the link below to grab the inspired original TabsLock. If none of this sounds good to you but you wish you did have a better use for your Caps Lock key, check out other ways you can use AutoHokey to put your Caps Lock key to good use.

Comments (AU Comments | US Comments)

  • v.dog

    Maybe his shirt should have read,

  • Rhywun

    Maybe his shirt should have read,

  • Edd2944

    Maybe his shirt should have read,

  • Rhywun

    Maybe his shirt should have read,

  • Ethan Halko!

    Maybe his shirt should have read,

  • Gibles

    Maybe his shirt should have read,

  • Gibles

    Maybe his shirt should have read,

  • qrxx

    Maybe his shirt should have read,

  • Phoshi

    Maybe his shirt should have read,

  • aeronaut

    Maybe his shirt should have read,

  • rkoz24

    Maybe his shirt should have read,

  • brownie

    Maybe his shirt should have read,

  • DillonK

    Maybe his shirt should have read,

  • ninjabob7

    Maybe his shirt should have read,

  • aestheticirony

    Maybe his shirt should have read,

  • taziar

    Maybe his shirt should have read,

  • HeartBurnKid, creepy morbid freak

    Maybe his shirt should have read,

  • aidan.cage

    Maybe his shirt should have read,

  • Braffe

    Maybe his shirt should have read,

  • getjustin

    Maybe his shirt should have read,

  • strabes

    Maybe his shirt should have read,

  • Mewgia

    Maybe his shirt should have read,

  • Bryan Price

    Maybe his shirt should have read,

  • dotyoureyes

    Maybe his shirt should have read,

  • witeowl

    Maybe his shirt should have read,

  • johnsmith1234

    Maybe his shirt should have read,

  • anaphora

    Maybe his shirt should have read,

  • qrxx

    Maybe his shirt should have read,

  • malnourish

    Maybe his shirt should have read,

  • garbanzo-bean

    Maybe his shirt should have read,

  • Busybyeski

    Maybe his shirt should have read,

  • P_Smith

    Maybe his shirt should have read,

  • Sri

    Maybe his shirt should have read,

  • jeroentje

    Maybe his shirt should have read,

  • celcinc

    Maybe his shirt should have read,

  • limitedmage

    Maybe his shirt should have read,

  • gordon.thompson

    Maybe his shirt should have read,

  • JadeEmperor

    Maybe his shirt should have read,

  • bobbo33

    Maybe his shirt should have read,

  • OzTardis

    Maybe his shirt should have read,

  • meddigo

    Maybe his shirt should have read,

  • aidan.cage

    Maybe his shirt should have read,

Post Your Comments

Got something to say? There are two ways to comment:

1. Guests

Click here to comment instantly.

2. Facebook Users

Click below to comment using your Facebook account.

We're looking for comments that are interesting, substantial or highly amusing. If your comments are excessively self-promotional, obnoxious, or even worse, boring, you will be banned from commenting. All comments are moderated.