
There may also be a symbolic link named "v2" pointing to the subdirectory of the last installed version. If you have used this to install AutoHotkey, the help file for each version should be in a subdirectory of the location where AutoHotkey was installed, such as "C:\Program Files\AutoHotkey\v2.0-beta.7". V2.0-beta.4 and later include an installation script. If you manually extracted the files, the help file should be wherever you put it. How to find the help file on your computerĭownloads for v2.0-a076 and later include an offline help file in the same zip as the main program. Go get some reward snacks then return to reading the rest of this tutorial.įor a video instruction, watch Install and Hello World on YouTube. Hip Hip Hooray! Your first script is done.Open notepad or (anything you can type in) and press Ctrl and J. Double-click the file/icon in the desktop to run it.marks the start and end of the hotkey.Send is the function, anything after the space inside the quotes will be typed. Send "My First Script" is how you send keystrokes.Anything to the left of :: are the keys you need to press. Until then, here's an explanation of the above code:

Here is a very basic script containing a hotkey which types text using the Send function when the hotkey is pressed: For a list of all built-in function and variables, see section 5. So now that you have created a script, we need to add stuff into the file.

For optimal learning power, it is advised that you read the text and try the code. Throughout this tutorial you will see a lot of text and a lot of code. Function Calls with or without Parenthesesīefore we begin our journey, let me give some advice.How to find the help file on your computer.Beginner Tutorial | AutoHotkey v2 AutoHotkey Beginner Tutorial by tidbit Table of Contents
