Difference between revisions of "Howto:AHK"

From MPGH Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
==What is AHK==
 
==What is AHK==
AHK is the abbreviation for the software, AutoHotkey.
+
AHK is the abbreviation for the software, [https://autohotkey.com/ AutoHotkey].
  
 
AHK allows you to make a script (macro) which can be binded to a key press to run the script.
 
AHK allows you to make a script (macro) which can be binded to a key press to run the script.
Line 23: Line 23:
 
4.
 
4.
 
[[File:Ahkpaste.png]]
 
[[File:Ahkpaste.png]]
 +
 +
 +
==Sample AHK Script==
 +
'''AFK Fish Farm Script for Minecraft'''
 +
<code>f1::Click Down Right ;Press F1 to hold the right mouse button down
 +
f2::Click Up Right ;F2 to release the right mouse button</code>

Revision as of 04:16, 8 April 2018

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

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