Progressbar in script UI problem Hi friendsI´m trying to add a window with a simple progress bar. But I´m having 2 problems. To better explain I made a simple example that reproduces the intent:#target Bridgevar d1 = new Window ("dialog", "Show images", [0,0,0,0])d1.size = [600,290]d1.center()var exec = d1.add ("button", [0,0,0,0], "Run", {name:"ok"})exec.size = [80,30]exec.location = [410,240]exec.onClick = function (){ d1.close() //first problem is here var d2 = new Window ("dialog", "Progress", [0,0,0,0]) d2.size = [230,80] d2.center() var bProgress = d2.add ("progressbar", [0,0,0,0], 0) bProgress.size = [200,20] bProgress.location = [15,20] var comment = d2.add ("statictext", [0,0,0,0], "Running numbers") comment.size = [200,20] comment.location = [15,45] &n