Question
Failure to draw palette
After several hours attempting to add a progress palette to my scripts, I've concluded that there is no way to get the palette to completely display. The box is drawn, as is the Cancel button, but the background, static text and progress bar are not show, and the Cancel button is not sensitive to clicks.
I've tried inserting hide() and show(), insert waits, etc. to no avail. I suspect that the redraw thread isn't even being run while my onClick command function is running.
Is there a method that will force redraw that I can put in my processing loop? How do I make the palette have focus so the button click will work?
Is the thread model for scripting documented anywhere?
Perhaps it would be better for Adobe and its customers if "Extend"Script were open sourced?
I've tried inserting hide() and show(), insert waits, etc. to no avail. I suspect that the redraw thread isn't even being run while my onClick command function is running.
Is there a method that will force redraw that I can put in my processing loop? How do I make the palette have focus so the button click will work?
Is the thread model for scripting documented anywhere?
Perhaps it would be better for Adobe and its customers if "Extend"Script were open sourced?
