went over a significant update from the older first versions to now the second version which changes a lot about how the program works on the background how to install it and how even the syntax of the code itself in general improves it significantly and that's why I'm going to now fully use it for all of my future scripts and videos so let's go over how to install it first you go to their official website autohotkey.com V2 here's the link to the latest installer and even a changelog from V1 to V2 I'm also going to later show you how to in put it into Visual Studio code to make the usage much easier so let's click the download link I already have it here in my development folder so let's open the folder now you just double click the setup it will ask you where to put it and then you need to confirm the admin request [Music] and that's basically all you need to do to get it working on the most basic level how I showed it in my older videos with Autodesk version 1. now you can select to create a new script or you can simply close this down go to desktop for example new text document let's call it test we need to put this magic line at the start to require auto key version 2 because otherwise the compiler does not know it which version you want to use and for some reason it assumes it's still uses version one now let's make a simple script when I press a it should Press B so we can easily test if it's working we need to put the entire script for the hotkey into curly brackets and B saving this now we rename it to our car and we already got a working screen now let's go to the key test website to iron it now when I press a it should Press B you can see it's working very nicely of course you can adjust if it passes a or if it doesn't press a or whatever now let's go over the second thing you might want to do with autohotkey and then that is to create exe files out of these Scripts to do that we need to open the automotkey Dash to now select the option to compile a script it will follow you probably an error that on totally to exe is not installed you just click install it for me now we can select uh test dot auto key as our source file and our destination will just be again test 42 and with EXE and now we just press convert we have a few options here I'm just using the 64-bit version you can even select like icons and even compressions so it all doesn't was successful obviously it wasn't much not going to go wrong now we can stop the existing script and we can run this this is already a file you can send to basically anyone with a Windows computer and they should be able to run it they don't need to have auto key installed of course it will most likely tell them some sort of virus warning because anti-virus software is just terrible now we can again go to the key test website and we can see it's still doing what we want thank you you can see here at the topic when every time I press 8 also presses B and stop it and let's go over how to get this to work with Visual Studio code to download visual studio code you again go to the official website in this case it's called.visualstudio.com you click on the break button to download it for Windows I assume you're on Windows I'll again have the setup then you just open the setup you click to install it you agree to the license agreements and you select where it should be put and then when you open it should look somewhat like this and now to explain to this software that is a language that it is supposed to support and show you options for it and so on we need an extension foreign key V2 you need to be careful here and select the right extension this one my th q b y control key V2 language support no not any of the other ones or maybe there is one that has both but this is the only one I found that was working you install it here should be a button to install it I already have it and now you go to the extension settings you scroll down to Automotive key to interpreter path and you put in the after Auto key.exe for the compiling I can show you this when I select it C development folder it created this folder here Auto load key here you go to version 2 or V2 because if you have for example we want it might be another option and you simply copy this path here and then you just do one of these slashes and all the hotkey.exe or you can even use 64-bit if you are on the 64-bit computer which I assume you are this is just the shortcuts to both of them and it just picks the right one automatically now when we open test dot Auto Alt key we can see the code here and already does some nice coloring it even gives us some options like let's say I want to use the for example I index of the current loop operation we can just use a underscore index I already shows us the options which is a huge help especially at the start it also allows us to format the code foreign it's much easier to read it now and when we invest on this triangle it even runs the script for us you can see it's running it it didn't follow us any output thankfully which means it's running fine if I would for example right now make a mistake here and now I would try to run it you can see it will even tell us where the mistake is and to earn this alternate key stuff through command line I will show you another extension that I use which you might have noticed I have two triangles here what do you do is you can you know go where I'm going right now in the code Runner settings because I just use it for a bunch of other languages here in the executor map you can scroll down to adult key and all you really do is you if you are in a command line you go to the path where you have Auto key.exe then you just write this down and select enter of course file name will read the name of your script ideally you want to have auto key exe path in your environment variables which I will show you how to get an enter system is also important you want to edit the system environment where most of the ones for your account go to environment variables and now you go down in to here to find path here in system variables again not the user variables and then and then here we have seen development.q V2 this is probably unnecessary for most of you and you could have stopped by just the end of the installation for visual studio code or even before that obviously I have no idea what you want to do with Automotive key but please if this video helped you share it like it leave comments you can also ask me questions you can go to my Discord or any of my other social media ask me for help with autohot qv2 of course when I have the time I will try to help you please don't like force me to help you instantly like ask me 20 questions in two seconds and then wonder why I don't answer immediately I have a life which is fairly surprising for Minecraft player and just in general if you know people who want to make programs that press keys for you or move the mouse or whatever tell them about or don't give it to you it's really a very nice scripting language and makes things that would normally like something like this would probably take you I don't know 50 lines in C plus plus or something like that and this is just trivial and of course there are other features that you don't need to code yourself you don't need to go through some other libraries or anything like that to get so I hope I helped you and have a nice day