To work, you will need the numbers 1 and 2 on the panel, as well as turn on the actotarget: 1 - taming skill 2 - attack
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