14 Replies Latest reply on Nov 8, 2017 5:23 AM by Test Screen Name

    app.thermometer / Progress bar

    pierrep52392313 Level 1

      Dear all,

       

      I'm looking for a script to enable the display of the (animated) progress bar during the execution of any kind of script.

       

      I tried various combinations with this code found on the forum, without success :

       

      var tObj = app.thermometer;
      tObj.duration = 1000000;
      tObj.begin();
      tObj.value=i;

      for(var i=0;i<100000;i++)
      { tObj.text = "Processing, please wait";}

      tObj.end();

       

      I only succeded to display the progress bar window, but... without animation during the process of the function.

       

      Would anyone have an idea how to combine this code with the execution of a function in order to see the animated progress bar during the execution of that function?

       

      Thank you in advance and best regards.