how to create mouse macro in autoho code example
Example: macro keys autohotkey
z:: ;Selects the zkey as a new function. You can select a Fkey. (Example: F12::)
Send, All the text you want to send ;The command the zkey has to run. In this example, it sends some text.