15 Great AutoHotkey Scripts You Have to Try

AutoHotkey is without doubt one of the finest Home windows automation applications that may carry out the only of actions to the toughest of duties. AutoHotkey is a free and open-source program which makes use of its personal scripting language to automate any of your each day Home windows duties. Despite the fact that the “scripting language” sounds intimidating, it is extremely simple to make use of, and you are able to do all kinds of cool issues.

Let me share my favourite and most-used AutoHotkey scripts, which make each day duties somewhat bit simpler, and which will make it easier to too.

Earlier than beginning, it’s assumed you already know how you can set up and configure AutoHotkey. Furthermore, please be aware that the strains beginning with ; are feedback.

1. Adjusting Quantity

Despite the fact that it doesn’t have any multimedia keys, I like my keyboard, however the lack of quantity management buttons is a bit uncomfortable for me. I exploit the next AutoHotkey script to manage the amount of my system.

Right here’s a enjoyable various to quantity adjustment that allows you to do it utilizing your mouse wheel and the Alt key.

2. Get Mouse Coordinates

If you happen to’re a UX designer or net developer, then pinpointing the precise onscreen coordinates of your mouse may an especially helpful factor to do. To that finish, some form soul on Reddit created this script, which by urgent Shift + 1 copies your mouse coordinates to your clipboard so you possibly can simply convey them up.

3. Present and Disguise Hidden Information

Hidden information are hidden for a purpose, however by yourself PC, chances are you’ll wish to rapidly toggle seeing them with out having to undergo the same old means of checking the related field in File Explorer.

The AutoHotkey script for this can be a little bit longer:

The above script makes use of Ctrl + F2 to toggle the hidden file view, however you possibly can change that to no matter you need by swapping out that ^F2 proper at first of the script.

4. Change Keyboard Shortcuts

The default keyboard shortcuts in Home windows are all nicely and good, however perhaps they’re not fairly comfy for you. For instance, the Activity Supervisor is without doubt one of the most vital home windows on the working system, however who desires to press Ctrl + Shift + Esc each time you do it?

Utilizing the above for instance, we’re altering that keyboard shortcut to one thing easier: Ctrl + X:

If you would like extra data on all of the syntax that can assist you change the default Home windows keyboard shortcuts, head over to our devoted article on the subject.

Google had the precise concept when it turned the unloved and underused Caps Lock key right into a devoted search button that searched each your laptop and Google. Within the spirit of Chromebooks, you possibly can flip the Caps Lock key right into a Google Search key.

The next AutoHotkey script will robotically search Google once you spotlight a little bit of textual content and press Ctrl + Shift + C:

6. AutoCorrect

Within the time that Home windows has existed, smartphones have developed immeasurably to the purpose they now have touchscreens and autocorrect inbuilt. So why not have autocorrect on Home windows?

In Autohotkey’s repository of scripts, yow will discover an autocorrect script, which accommodates 1000’s of widespread spelling errors that most individuals can simply make, then robotically repair them as you write/make them.

Right here’s the hyperlink to obtain the script. Simply press Ctrl + A to pick every part within the script, then copy it to a Notepad file that you need to then save as “AutoCorrect.ahk.”

7. Repurpose these Operate Keys

Most of us infrequently use the Operate keys on our keyboard apart from F2 (rename), F5 (refresh), and F11 (full display screen within the browser). Utilizing AutoHotkey, you possibly can repurpose these unused capabilities to do a wide range of issues, like launching net pages, launching applications, and so forth. As an example, I exploit the perform keys to launch my most-used applications, like Snagit, Chic Textual content, Photoshop, Calculator, Thunderbird, and so forth.

To launch a program, merely use the script beneath. Don’t neglect to switch this system path along with your favourite program.

8. Open Webpages Rapidly

Identical to launching your favourite applications, you possibly can create your individual customized shortcuts to launch your favourite web sites. As an example, I exploit Ctrl + Shift + T to launch MakeTechEasier. Use the next script to launch your favourite net web page. Don’t neglect to switch the online tackle along with your favourite website.

Identical to the one above, you possibly can create you personal shortcuts utilizing a mixture of Ctrl(^), Shift(+), Alt(!), and Win(#) keys.

9. Open Favourite Folders

Together with opening net pages and applications, it’s also possible to open your most-used folders with only a easy shortcut. As an example, most of us entry the Downloads folder typically, and to make it simpler, we will use a easy script just like the one beneath. You’ll be able to customise the script to alter the shortcut and the folder path in response to your wants.

10. Transfer Up a Folder in File Explorer

If you find yourself in a folder, you typically want to maneuver up one folder. In earlier variations of Home windows, the backspace key has finished the job, however now the backspace key strikes you again in historical past. That is helpful to many, however I nonetheless hate to click on on that little icon to maneuver up a folder, so I exploit the beneath script to maneuver up a folder by clicking the center mouse button.

If you would like it’s also possible to reconfigure the ineffective tilde (~) key in your keyboard to do the identical motion.


11. Set Default State of Lock Keys

Utilizing AutoHotkey, you possibly can simply set the default or everlasting state of the lock keys on our keyboard, e.g. set Caps Lock to be turned off, Num Lock to be turned on and Scroll Lock to be turned off. This straightforward script is so useful. Even if you happen to press them by accident, the lock state gained’t change.

12. Reconfigure Caps Lock

After turning off the Caps Lock, chances are you’ll wish to reconfigure it to behave because the Shift key. To reconfigure the Caps Lock key, use the beneath script.

13. Empty Recycle Bin

You need to use the beneath script to rapidly empty the trash bin. This straightforward script saves me from utilizing my mouse to do this similar job.


14. Window All the time on High

Typically you simply desire a window to be at all times on high, irrespective of which window you’re engaged on or is in focus. As an example, when engaged on a spreadsheet, chances are you’ll entry the calculator app incessantly, and having it on high of the spreadsheet is kind of helpful. Utilizing AutoHotkey, you possibly can simply do that with a single line of code.

The script was initially revealed by labnol.

15. Briefly Droop AutoHotkey

The shortcuts created utilizing AutoHotkey could generally intrude with some applications. In these instances, you possibly can quickly disable AutoHotkey utilizing the beneath script. After all, if you happen to don’t wish to use a shortcut, then merely right-click on the AutoHotkey icon within the taskbar and choose the choice “Droop Hotkeys.”


As you possibly can see, all of the AutoHotkey scripts shared above are primary however do make issues simpler. Moreover the simple stuff, you are able to do all kinds of difficult issues, like robotically ship emails, handle applications, automate sure Home windows duties, robotically appropriate spellings, and so forth.

For extra secret Home windows stuff, see how you can repair the ‘Vital Course of Died’ error in Home windows. We even have a registry hack to restore your OneDrive taskbar icon, ought to it go lacking.

Is this text helpful?

Subscribe to our e-newsletter!

Our newest tutorials delivered straight to your inbox

Supply hyperlink

Leave a Reply

Your email address will not be published.