🅰️HK Lesson #6: How to create and use variables in 🅰️utoHotkey!

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

Joe, Isaias, Irfan & Team

the-Automator.com

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

1) Intro2) AHK Versions3) Editors4) First AHK Script5) Getting Help
6) Variables7) Run @ Startup8) Downloading Viruses9) HotStrings10) Hotkeys
11) One vs Many Scripts12) Intro to QAP13) Functions & Directives14) Custom Functions15) Includes & Lib
16) Troubleshooting17) Intro to GUIs18) Using Clipboard19) Reading Files20) Saving Preferences
21) Automating older Progs22) Automating Menus

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

Comments are closed.