JSAPI question/ request

I have an idea that I would like to implement, but I’m not sure if it’s possible and before I spend all afternoon experimenting I was wondering if any that are familiar would be able to tell me if this is possible.

I would like to be able to create a batch style script that will look for any images in the library, open their properties then select the compression type to photo/jpg and de-select the default quality checkbox and finally leave the quality at the defaulted 50%.

So if any are able to at least let me know if this is at all possible I would be mucho obliged. :slight_smile: