Howto:AHK

From MPGH Wiki
Jump to navigation Jump to search

What is AHK

AHK is the abbreviation for the software, AutoHotkey.

AHK allows you to make a script (macro) which can be binded to a key press to run the script.

AHK scripts are useful for farming in Runescape, Minecraft, and many other games which require fast key pressing motions.


How to use AHK

To use an AHK script, you will generally be given the text code for it.

You will want to make a new AHK file by following the 4 steps provided below:


1.

Error creating thumbnail: Unable to save thumbnail to destination

2.

Error creating thumbnail: Unable to save thumbnail to destination

3.

Error creating thumbnail: Unable to save thumbnail to destination

4.

Error creating thumbnail: Unable to save thumbnail to destination


Sample AHK Script

AFK Fish Farm Script for Minecraft

f1::Click Down Right ;Press F1 to hold the right mouse button down f2::Click Up Right ;F2 to release the right mouse button