Hey there – I’m glad you found a solution. Note, however, that this is not going to work long-term, as ExtendScript is not technically supported by UXP. As such, it’s likely that the mechanism you’re using here will stop working. Furthermore, it requires redistributing part of Photoshop (HDRToning.jsx) alongside your plugin, which is also not something you should do.
(In general: if you need to execute ExtendScript, the correct way to do that in UXP is to convert that ExtendScript to modern JavaScript. Adobe does not support interfacing with ExtendScript from UXP.)
I’m sure there’s a batchPlay command to do this equivalent, however, this works just as well:
Thanks @Pierre_G you are always kind. @DavideBarranca gave me the list of zstrings (I think it is the same list), unfortunately I have seen that many zstrings do not work. I was wondering if there was a list of zstrings that work.
There’s no “list” other than extracting them from the app itself.
So far, the only ZStrings I’ve seen work in this case are those that are added dynamically (and talk to JSX scripts). Otherwise you have to use commands, but I’m not aware of any authoritative list of those.