Running extendScript through UXP

I wanted to run some extendScript based scripts through actions from the extension I designed on UXP. (I wanted to try something like this since extendScript cannot be run directly and script calls can be recorded in actions) but when I trigger an action that calls “script” inside, I get the following error. Do you know of a way I can run ExtendScript over UXP?
qqq

Short answer - this is not supported in UXP

If Adobe didn’t patch it yet, you might try a workaround. Wrap your action in one more action and try running that from UXP

1 Like

Great! Thank you very much. I have managed to solve the issue by wrapping the script calling action by another.

Keep in mind, this might stop working at any time

1 Like