Creating a tinyPNG script for an already opened file
Hello everyone,
I wanted to compress files and came across tinyPNG that compresses PNG and JPG files.
I want to use it on an already opened file in Photoshop. i also want to use script.
I found on their website they shared a script to use tinyPNG on opened files:

I want to combine it with a script I have to save JPG quality 5.

i will ask their support as well, if they shared their script maybe they'll know.
thanks in advance for any help.
