

Now to the hotkeys that will control the mouse macro recorder script I will go over this routine with you later in this tutorial. LButton ) and the second parameter is the routine to call when this button is pressed.įor our recorder we will record the 4 main mouse buttons both their up and down event so that’s the left, right, middle plus the mouse wheel and you will need them to call a routine, for this tutorial I called the routine ClickHotkeys. So let start by setting up the keys/buttons we’d like to record, for this you will use the Hotkey command with two parameters, the first one will be the name of the hotkey like the left mouse button (i.e. Next you will define all the hotkeys ( keyboard shortcuts) this will give you a way to start and stop the mouse macro recorder with the press of a button, but it is also a great way to let the recorder know what mouse button is pressed when. Last attribute will be CoordMode with two parameters, first will be Mouse and the second is Screen what this does is, it sets the coordinate mode for the mouse commands so they’re relative to the screen. Next line you will set SetBatchLines with a parameter of -1 when you use -1 it makes the script never sleep between lines (i.e. This is to make sure only one mouse macro recorder is running at a time.

In the very first line you will set the script attribute #SingleInstance with the parameter force to force the script to replace the old instance automatically if/when it is already running.

Here at the top of the script you will put 3 lines that makes the script behave in a particular way The Top of the Script (the Auto-execute Section): Obviously, you will need to make sure that you start recording from the initial state of the application or game, else your macro recording will probably not work the next time you start a playback. When done your mouse macro recorder script can be extended so that when you record something the script puts in random parts or runs the playback faster, making it more time effective, it is also possible to make a recording loop over and over, that’s just some of the great things about learning how it works.Īfter reading this tutorial it’s my hope that you will know the procedure of writing a macro recorder and also know it’s really not all that complicated: You append your mouse moves and clicks to a variable, the tutorial recorder will not care about whatever game or application window is active only the mouse moves and clicks are recorded. You can use it as an auto clicker or work automator, in things like games or to automate lots of other processes, when your macro recorder is done, you will be able to edit it with any text editor, even the recordings can be manually edited. You will learn all you need to know about the recorder before using it, and it will also be a lot easier for you to manually edit the scripts that you recorded to make them even more effective.
#MOUSE RECORDER TUTORIAL .EXE#
exe and you first need to get familiar with its controls: You will already know exactly what the mouse macro recorder is doing and when its recording or playing back and so on.
#MOUSE RECORDER TUTORIAL DOWNLOAD#
I can say that this is not a mouse recorder that thousands of others are using, like all those free recorders out there where you download some. What will learning to make it yourself do for you?
