A simple macro looped on pressing one key, suitable for any game where you need to extract a resource. Instead of a space, you can specify any button that is responsible for the action, the last delay can be changed to the required value, in my case, this is the duration of the resource extraction animation
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