AHK: How to Make a $hit Ton of Files in 60 Seconds

For future reference, I’m posting the code at the top. Details follow below.

STEP 1: Make a new AutoHotkey file. Don’t know what that is? Don’t worry. It’s real easy.  Click here.

STEP 2: Go into your C Drive. Make a folder called Folders1_200.

CDriveMakeFolder1

STEP 3: Right click your new AutoHotKey Script → Edit Script.

Continue reading “AHK: How to Make a $hit Ton of Files in 60 Seconds”

AHK: How To Make a Hotkey

A hotkey (AKA keyboard shortcut) is a combination of keys that tell your computer to do something.

You’ve probably seen these before:
CTRL + C         Copy
CTRL + X         Cut
ALT + F4          Close the active window

Today we’re going to make one of our own. I want to be able to tap a key that opens the internet at a specific page. Because I am lazy, I’m writing this in Notepad. Entirely doable with AutoHotkey. If you don’t know what that is, read this.

STEP 1: Download AUTOHOTKEY.

Sidenote: I’m warning you now, Autohotkey is a gate-way drug. It’s mellow. It’s accessible. And it can definitely put you on the path to using things that horrify you now. Maybe even the command prompt.

EvilCommandPrompt

STEP 2: Right click the desktop → New → AutoHotKey Script.

STEP 3: Name it something obvious.

STEP 4: Right click your new AutoHotKey Script → Edit Script.

If all is well, you should see this.

Notepad

STEP 5: Don’t panic. You don’t need to know anything about any of the text that comes inside of it.

STEP 6: Underneath that text, use this formula to tell the computer what you want. I’m going to have it open Firefox and route to BBC News.

HotKey1 & HotKey2 ::
run, 
NameOfProgram.exe
return

In our case, that translates to:

Script1

*Yes, ! means ALT in computerspeak. In this context. More on this later.

STEP 7: Close Notepad → Right click the script you just created → Run Script

Sc1.gif

STEP 8: Press Alt and n to see it work.

What is AutoHotkey (AHK)?

Computers have a multiple languages—many of which are completely indecipherable. But if you can learn the vocabulary, the grammar, and the rules of punctuation, you can tell the damn thing to do whatever you want.

AutoHotkey uses a fairly simple scripting language, and after a quick software download (offered here), you can start coding straight into Notepad.

computerSpeak

As a beginner, even with the AutoHotkey tutorials, this is still a quite confusing, so I’ve compiled a little list of things I wish I’d known when I got started.

Continue reading “What is AutoHotkey (AHK)?”