Hey guys. Weird problem here. Seems Progressbar update in CS3 and CS4 (not sure about CS5) doesn't work properly on MAC. But I guess this is a known issues.
Any ways, I am building my progress bar window like this:
var PBWin = new Window ('palette', 'Progress Window', undefined);
var ProgressBar = PBWin.add('progressbar', undefined, 0, 100);
and later in my code in some for/loop I am incrementing ProgressBar values.
All works nice on CS6 and above, but cannot figure out how to make them work on CS3 and CS4. Any ideas?
I searched forum and found Update() option. But this only works for Window objects. However, if I change my "Palette" to "Window" that problem still appeas.
So is the a workaround with ProgressBars on MAC specific that work on CS3 and CS4?
From Peter Kahrel document scriptui-2-2.pdf if says:
Note: in scripts that use progress bars, you cannot set app.scriptPreferences.enableRedraw to false. If you do, the progress bar doesn't display correctly. This is on Macs only.
But that's irrelevant to AE, is it? Becouse it throws me an error when I try to add app.scriptPreferences.enableRedraw = true.