create macro with autohotkey 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.