Saving images from .har files?

Hello. Please, help me.
How i can save images from .har files using this script and Opus? is it possible to make a button and run script inside?