What Is an AHK File?

A file with the .AHKfile extensionis an AutoHotkey script.

It’s aplain text filethat’s used by a free scripting tool for automating tasks in Windows.

AHK files in Windows 10

AutoHotkey uses this file to automate things like clicking window prompts, typing, and lots more.

Basically, the quickest way to do that is to right-hit the file and chooseCompile Script.

AHK Script Examples

Below are a few examples of AutoHotkey scripts.

This one will show or hidehidden fileseach time theWindowsandHkeys are pressed at the same time.

This is much quicker thanmanually showing/hiding hidden files.

The following is a much simpler script that’s completely editable to your liking.

It will open a program with a quick keyboard shortcut.

In this example, we’ve set it to open Notepad whenWIN+Nis pressed.

Still Can’t Open It?

Or it could be anAHSfile used with Photoshop.

Another similar-sounding but totally different file extension isAPK.

ASHXfiles are another example.