put your target on F6, put the mace on ctrl+q. put the macro on F6 and voila, you have a macro on the mace.I hope it will be useful to someone.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program