Hi Kasyan,

Sorry for the Late reply.
When I run the script on mac I got error with the progress bar.

Especially I am getting error with the below coding

------------------------------------------------------------
var w = new Window ( 'window', myCurrFolderName );
var pb = w.add ('progressbar', [12, 12, 350, 24], 0, stop);
var txt = w.add('statictext');
txt.bounds = [0, 0, 340, 20];
txt.alignment = "left";
w.show();
var a = 1;
------------------------------------------------------------
But, the scripts runs well by removing the progress bar coding.

Thanks for your response,
Bharathi Raja G.