Thanks.
At the moment, I'm just following the example in the documentation. I have been able to show the window in the Initialize event, but it won't show up in any other event...
I need it to show up after the latex is done converting to a png file, so I used this code:
jscript code:
// -------------
// Show LaTeX in separate window
// -------------
var pngFile = folder + "\\file1.png";
if (fso.FileExists(pngFile))
{
var wnd = MsgPlus.CreateWnd("Windows.xml", "WndTest");
}
(This is in the OnEvent_ChatWndReceiveMessage event btw)
Nothing shows up.
I figured there might be something wrong with my file check (is there?), so I tried it without that... Still nothing. No window shows up.
What am I doing wrong? I can't see any mention of this in the documentation...?