JSL:将仪表板另存为交互式html我通过脚本构建了一个仪表板,并希望将其另存为交互式html,然后将其关闭。 该脚本运行良好,但保存和关闭却不行。
我尝试了类似的尝试,但是没有用。
感谢您的帮助! 提前致谢!
马库斯
Names Default To Here( 1 );
Open("$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp");
app = JMP App();
app << Open File( "$SAMPLE_DASHBOARDS/Instant Dashboard.jmpappsource" );
box = app << Run;
box << save html("C:\Users\Markus\Desktop\test.htm");
close(box);脚本编写回复:JSL:将仪表板另存为交互式html我认为运行应用程序命令的类型与您预期的不同,
尝试附带的脚本。
Names Default To Here( 1 );
tmp_path = Substitute( Right( Convert File Path( "$TEMP" ), Length( Convert File Path( "$TEMP" ) ) - 1 ), "/", "\" );
Open( "$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp" );
app = JMP App();
app << Open File( "$SAMPLE_DASHBOARDS/Instant Dashboard.jmpappsource" );
box = app << Run;
Show Properties( box );
Show( box );
(box << get windows)[1] << save html( "$TEMP\test.htm" );
回复:JSL:将仪表板另存为交互式html嗨,乔治,
感谢您的建议。 你写。 现在正在工作。
您还有想法将其另存为交互式(html5)文件吗?
问候
马库斯
回复:JSL:将仪表板另存为交互式htmlPS:我从社区中获取的示例并添加了节省部分。 实际上,我构建了一个看起来像这样的脚本(缩写(...),因为它很长)。
HTL = JMP App( ... );
box = htl << run;
Show Properties( box );
Show( box );
(box << get windows)[1] << html save( "C:\...\name.htm" );
Close( box );
我已经介绍了您的建议,但是它没有运行。 错误在哪里?
提前致谢
马库斯
回复:JSL:将仪表板另存为交互式html我发现了错误:
我的命令行说:<< html save()
正确的应该是:<<保存html()
有了它,它起作用了。
因此,交互式html版本仍然存在问题。
马库斯