Scalable dialog, scrollbar and performance issue
Hey, I've been writing a complicated photoshop script for a few months. I'm about to finish but I have a few problems that make my nights sleepless 🙂
1. Is there any possibility of making a scalable script window?
(It has a lot of variables that are listed in the window - at the moment all dimensions are given in px. On a 1920x1080 monitor resolution everything is ok but when I call the script at other resolutions, part of the window becomes invisible (cuts it).
How to fix it? Alternatively, if it is impossible to do scalable, can I do some scrollbars?
2. How to make the script window not interfere with using the program? at the moment, after calling the script, I am not able to work in photoshop until I execute the script or disable it. How can I make the script window open all the time and be able to work normally in Photoshop in the background?
3. And is it possible to speed up the work of photoshop itself? After completing all operations ( I can see it in history), I see that it has already finished processing, though photoshop as if it wanted to process everything visually, which takes 5x as much as processing a script - can it be avoided somehow?
They are probably trivial things, buttotaly new for me as I learn many things writing this script.
Unfortunately, I can't paste the whole code because it has almost 10k lines of code. Just tell me what functions to use or what code or what you need to do to solve it because I was looking for it but I can't find it anywhere.
Thanks for your help 🙂
