Hello,
In this edition we’re going to talk to some basics about creating and using variables in AutoHotkey.
In this video, which was extracted from Intro to AutoHotkey in V2 course, Isaias shows how to create and reference variables.
AutoHotkey as a lot of Built-in variables which are incredibly useful!
For instance, if you wanted to show where the current user’s “my documents” folder is you could run the following code:
MsgBox A_MyDocuments
The msgbox command is displaying the content of the A_MyDocuments variable.
If you’d like a handy script that displays all the built-in AutoHotkey variables, you can grab it here.
If you’d like to learn more about AutoHotkey consider working through our Intro to AutoHotkey course. You can get a 15% discount by clicking here. We have removed all the risk from you because all our courses come with a 200% money back guarantee!
Additional Resources
- How to reference a variable
- How to toggle variables in AHK
- BuiltInVars tool
Joe, Isaias, Irfan & Team
This campaign was designed to allow you to jump around. At any time you can jump to any one of the emails by clicking below
P.S. We often help Hero Members with questions regarding using variables in our AHK Hero meeting calls. Remember that if you are member, you get a 25% discount to all our courses❗

