caption: blankAfter running
caption("my text");sometimes the window is blank:

When I run the same code again, the cation text is visible.
Up to now I could not find an explanation when a caption text is displayed and when it's not.
Did anybody experience the same thing ?
Automation and ScriptingRe: caption: blankNo idea if it's a similar RC, but I have an issue just like that when running dense code -- since JMP is single-threaded it doesn't allow for the GUI to update properly.
For my code, doing this works:
caption("my text"); Current Window() << Inval << Update Window;Re: caption: blankThanks, nice trick - seems to work.
Interesting that refreshing a window also refreshes the content of the caption.
The only drawback: one needs an open window for it to work.
Is there a similar command which also works if no windows are open?
Re: caption: blankGood question -- I've never ran JMP without at least one window open, so I'm not sure
Re: caption: blankSame for me 
But 5min after rolling out the bugfix I noticed, that you cannot take for grnted that a window is open on every system ...
And I noticed that even with a few windows open - there is an issue
... if the current Jmp window is no "window" - which seems to be the case for the Home Window and the Window List.
Just install the attached AddIn and try to run AddIn/Current Window() - first from a script, report or table window and then from the Home window.
Re: caption: blankAnother possible solution would be to add a "Wait(0)" statement after the caption code.
caption("my text");
Wait(0);