Copy link to clipboard
Copied
I have a problem, if I run over a panel a long running script (5- 10 sec), the panel is not usable for this time.
Is there a way to run the script in a background thread, or something similar??
Function in *.jsx file
//Save all Data to Json-File
saveAllNewPresets = function (data) {
for (var i = 0; i < data.length; i++) {
//Funktionsnamen zusammensetzten
var funcname = data[i].function + "( " + jamJSON.stringify(data[i].look) + ")";
//Funktion ausführen
eval(funcname);
}
return true;
};
The actions system runs on the main thread. So you and your users should not be interacting with Photoshop during script execution.
Copy link to clipboard
Copied
The actions system runs on the main thread. So you and your users should not be interacting with Photoshop during script execution.
Copy link to clipboard
Copied
Ok, thanks