To use a macro in the Keyran program, select a convenient mouse button, and then link it to this macro. In the game, just press and hold this button to activate the macro. It is looped, so you can use it, for example, to extract resources by simply holding down the mouse button.