I'm running into an unusual problem with a JSL script. I'm trying to automate the production of some reports and export them to HTML for presentation. I am planning to integrate this using automation (C# via RunJSLFile). The problem is that, although the variants of script I've tried (examples below) all work fine when run within JMP, they don't produce the HTML file when run standalone either by double clicking the JSL script file itself or through C#. No error is generated when I check HasRunCommandErrorString so I'm at a loss why it fails to run.
New Window( "Report", vlb = V List Box() );
// Insert several graphs into list box here
vlb << Save HTML("C:\report.html");
j = New Window( "Report", <<journal, vlb = V List Box() );
// Insert several graphs into list box here
j<< Save HTML("C:\report.html");
I've already looked around at a few other topics and all of them more or less point to the basic format but none of them work running as a standalone script.
https://community.jmp.com/t5/Discussions/Saving-journals-as-HTML/td-p/85
https://community.jmp.com/t5/Discussions/saving-html-with-multiple-plot/td-p/48411