Yahoo
Skip to main content
Advertisement
Advertisement
Advertisement
Advertisement

Windows makes me click through multiple menus for everyday tasks, so I made my own shortcuts

Laptop photographed from above, with Windows 11 Task Manager and Taskbar Personalization open side by side.
Tony Phillips/How-To Geek

There are some things I do in Windows so often that I can't believe they don't have keyboard shortcuts. After clicking through the same menus over and over every day, I decided to stop waiting for Microsoft and use AutoHotkey to make my own.

AutoHotkey makes custom shortcuts surprisingly easy

It does the hard work for you

AutoHotkey is a free, open-source Windows utility that lets you create custom keyboard shortcuts and automate actions. You don't need to be a programmer to use it, and once you've created your first script, adding more is really straightforward.

First, download and install AutoHotkey v2 . Then:

Advertisement
Advertisement
  1. Right-click an empty area of your desktop or inside a File Explorer folder and select New > AutoHotkey Script.

  2. Namethe file.

  3. Click Edit.

  4. Choose the program where you want to create and edit your code. I use Notepad.

  5. Pastethe scripts you want to use into the file and saveit.

AutoHotkey Script selected in the New menu of the right-click context pop-up on Windows desktop.

Once that's done, double-click the AHK file to run it.

You don't have to use every shortcut I show you below. I've chosen tasks that I regularly find myself repeating, but you can pick the ones that make sense for you and change the shortcuts or commands to fit your own workflow. You can also keep everything in one AHK file, as I do, or create separate scripts for individual shortcuts.

If you want to change a script later, right-click the AHK file and select Edit in Notepad, make your changes, and save it. Just remember to double-click the file again to run the updated version.

Hide or show the taskbar

Maximize your screen space in seconds

An AutoHotkey script that collapses and reintroduces the taskbar.

I regularly hide the taskbar when I want a little more room on my screen, like when I'm working with a large spreadsheet or comparing two documents. The problem is that Windows makes me dig through Settings every time.

Advertisement
Advertisement

I decided that deserved a shortcut of its own:

Open a frequently used folder

Skip File Explorer navigation entirely

An AutoHotkey script that launches a commonly used Windows 11 folder.

There are some folders I open so often that I could probably navigate to them with my eyes closed. Yes, I could pin them to Quick Access, and I have, but I still need to open File Explorer and click it.

For a folder I open several times a day, I wanted to remove even those few clicks:

To replicate this script for an Explorer folder you open often, simply head to that folder, copy the path in the address bar, and paste it between the double quotes in the script.

Kill the active application

No need for the Task Manager

An AutoHotkey script that activates End Task on the active window.

When an app freezes, Windows makes me open Task Manager , find the offending program, select it, and click End task. That's a lot of clicking when I already know which app I want to terminate.

Advertisement
Advertisement

There are two ways to make this happen more quickly. You can enable a Windows setting that adds End task to the right-click menu for apps on the taskbar , or you can use AutoHotkey to execute the same action with a shortcut:

Because this shortcut force-closes the app, anything you haven't saved could be lost. Reserve this shortcut for situations where an app has completely frozen. If it's still responding, save your work and close it normally.

Switch between dark and light mode

Turn a multi-click Settings journey into one shortcut

Two AutoHotkey scripts that activate dark and light mode in Windows 11.

I switch between Windows' light and dark modes depending on what I'm doing and when I'm doing it. The jury's out on the benefits of dark mode , but I find it's easier on my eyes when I'm working in a dim room, while I often prefer light mode during the day. Windows gives me no single shortcut for this, so every switch means another trip into Settings.

The key to setting these scripts up was stepping through the keyboard navigation I'd otherwise perform manually. I opened the Colorssettings and worked out which combination of Tab, Shift+Tab, and the Arrowkeys would move the focus to the setting I wanted. The shortcuts then open the Colorssettings and send those same keystrokes automatically. If the controls on your PC are arranged differently, test the sequence yourself and change theSendcommands accordingly.

Advertisement
Advertisement

I started with a shortcut for switching to dark mode:

To switch back to light mode, I use a second shortcut ( Ctrl+Alt+L):

Reopen the last File Explorer window

Give Explorer its own Ctrl+Shift+T

The top half of an AutoHotkey script that reopens the last-closed File Explorer window.

Ctrl+Shift+Tis second nature to anyone who has accidentally closed a browser tab and needed it back . I kept trying it in File Explorer after accidentally closing a folder window, only to remember that Explorer doesn't offer the same shortcut.

Since I frequently close Explorer windows and then need to get back to the folder I was using, I decided to make my own version. But rather than reusing Ctrl+Shift+T, I gave it Ctrl+Alt+Rbecause I didn't want to interfere with any existing Windows or application shortcuts:


Turn your frustrations into shortcuts

AutoHotkey is most useful when you apply it to the little things you do repeatedly and want to make easier and quicker. I've also used AutoHotkey for other tedious tasks that would otherwise take time or drive me crazy, including creating today's folder automatically, turning a short typed trigger into a longer phrase, and keeping a window on top of everything else. Once you start noticing the repetitive things you do in Windows, you'll probably find plenty of other tasks that could quite easily become shortcuts.

Advertisement
Advertisement
Mobilize your Website
View Site in Mobile | Classic
Share by: