Functions

AutoHotkey Webinar: 12/20/2016: Intro to Classes in AHK

webinar

AutoHotkey Webinar Videos and Links Here is a link to video of the First hour Video of Second hour where we chit-chat about how to best solve some problems. Link to AutoHotkey Webinar resources: Jackie Sztuk: Admin@jszapp.com        jszapp.com                       Connect on LinkedIn      YouTube …

Continue reading

Functions

I can’t tell you the # of times AutoHotkey Variadic Functions come in handy

AutoHotkey Variadic FunctionsAutoHotkey Variadic Functions can be incredibly handy when you don’t know the exact number of parameters.   The below example shows some simple math where you can pass any number of parameters to be added.  It also demonstrates how you can use MaxIndex() to determine how many parameters were passed to the function.

Demonstration using AutoHotkey Variadic Functions

How to create and use variadic functions in AutoHotkey

Functions

Tips & Tricks for using functions in AutoHotkey

functions in AutoHotkeyFunctions in AutoHotkey are a great tool to have in your bag!  They can definitely help simplify your code, ease re-purposing of code and avoid a lot of simple mistakes by keeping the variables local (instead of global).  AHK Studio is an editor written in and for AutoHotkey.  It helps both noobs & gurus write great code and is worth a deep look!

The below video reviews a few tips & tricks for working with functions.

Functions in AutoHotkey

AutoHotkey funcitons: tips and tricks

Functions

Streamline your code by Utilizing the Include command in AutoHotkey

Include command in AutoHotkeyAs I previously reviewed, functions in AHK rock!  The below video demonstrates how easy it is to use the utilize the include command 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\.

By using the include command you can specifically tell AHK to look in a given file.

Include command in AutoHotkey

Demo video showing how to use the include command