• Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Painlessly switch from V1 to V2

Streamline your code by Utilizing Includes in AutoHotkey

how to use Includes in AutoHotkeyAs I previously reviewed, functions in AHK rock!  The below video demonstrates how easy it is to use the utilize the includes in AutoHotkey to leverage functions & libraries that are not in your main file.

Without using the include command AHK will first look in your local library, then look under the myDocuments\AutoHotkey\Lib\ folder and finally under path-to-running-AutoHotkey.exe\lib\.

Includes in AutoHotkey

 

 

 

 

 

By using the #Include Directive you specifically tell AHK to “include” the file in your script.  Using Includes in AutoHotkey is an amazing way to keep your code clean and organized.

Using Includes in AutoHotkey

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.