Skip to content

Transform Your Caps Lock Key Into A Cr-48-esque Search Key

Advanced Users Only: Although the tenability of marketing a laptop with just a web browser as an operating system is debatable, Google’s Cr-48 did have at least one novel, provocative feature. Unless you have a proclivity for screaming at people in chat/IM discussions, you probably rarely use the Caps Lock key on your keyboard.

Wouldn’t it make sense to convert the button into something relevant to modern computer users? Google did, and transmuted the anachronistic Caps Lock key into a Search button. Depressing the key would bring up a Google Chrome search box, a convenient feature for indulging your insatiable curiosity.

Since Google’s first attempt at a post-PC machine received a lukewarm welcome from the digerati, let us see how we can attempt to replicate this functionality with our current computers.

After implementing these instructions, hitting the Caps Lock key will bring Chrome to the forefront, open a new tab and place the focus on the omnibar, where you can run a search query. If the browser is not currently open on your system, depressing the Caps Lock key will open it for you.

Windows

If you are a Windows user, you are going to need to utilize the shortcut-creating AutoHotkey, a free, open-source utility that allows users to automate repetitive tasks. To get started, you need to add the following code to your main AutoHotkey script:

Capslock::

SetTitleMatchMode, 2
If WinExist(“ahk_class Chrome_WidgetWin_0″)
{
WinActivate
WinWaitActive
Send ^t
Send ^l
}
else
{
Run “C:\Users\Paul Ciano\AppData\Local\Google\Chrome\Application\chrome.exe”
sleep 100
Send ^t
Send ^l
}
return
+Capslock::Capslock

Make sure to replace Paul Ciano with whatever you have chosen for your user name in the file path to Google Chrome.

OS X

On OS X, you will need to create a new AppleScript with the following code as the body:

tell application "System Events"
        tell application "Google Chrome" to activate
        keystroke "t" using command down
        keystroke "l" using command down
end tell

Then, go to System Preferences | Keyboard and select the Modifier Keys button. Set the Caps Lock key to perform a different action (e.g., Control). Now, open up Quicksilver and create a new trigger (for instructions on how to do this, click here). Choose a convenient key combination as your Hot Key (e.g., Control+Space). This new key combination will serve as your Search button.

For instructions on how to implement this functionality in Firefox, click through the link below.

Source Lifehacker

Image via aharden

 

No comments yet

Leave a Reply

%d bloggers like this: