Automatically crop-cuts empty, fully transparent margins around the edges of an opaque object in a single-layer PNG file.
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