2 Replies Latest reply on Mar 20, 2017 4:48 AM by Joachim Hiller

    Panel freezes

    Joachim Hiller Level 1

      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;
      };