We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Did you ever find a solution to this by any chance? I'm also writing a script to operate on many layers and getting the same issue.
What about a single top-level executeAsModal?
Hallo, Davide. Please tell me, is it possible obfuscated scripts in UXP? Like jsxbin.
You can use every JS obfuscator tool of your choice (my favorite is https://obfuscator.io/)
Davide Barranca I am having some difficulty with async and Batch Play in a for loop.
Problem I am trying to solve: loop through list of images (PNG), open, resize canvas, then, using executeAsModal I run bacthPlay to add lines and text (template) to image.
Expected results: executeAsModal executes for each image and waits for the batchPlay to complete.
Actual results: I tried using await, but the code does not wait in a for loop and then i get the following error: "Too many modal scope commands." I am working with about 50 images. Is there anyway aournd this?
Have you seen anything like this?