Scripting Skeleton - GlitchedSouls/AHK-Guide GitHub Wiki

Scripting Skeleton

The scripting skeleton is a base for people to build their scripts upon and it is advised that people use it.

Directives

Directives allow you to customise Auto Hotkeys behavior, which can make your script more efficient however, in some cases you can cause your script to work less efficiently if you don't know what you're doing. If you want to learn more about this, you can go here:

How to optimize the speed of a script as much as possible. - Auto Hotkey Forums

Scripting Skeleton Code

Please note, that the directives used in this script is inclusive but not an exhaustive list of directives that you can use.

; Scripting Skeleton
; Check out the AHK-Guide: https://github.com/GlitchedSouls/AHK-Guide
; Check out the AHK Docs: https://www.autohotkey.com/docs/AutoHotkey.htm

; AHK Directives
CoordMode, Mouse, Client 
CoordMode, Pixel, Client
#SingleInstance, Force
#Warn
SendMode Input

; Script Specific Global Variables

; OSRS Functions
return 

F1::
	; Your script.
return

F11::Reload
F12::ExitApp