大家好,我正在嘗試在 jmp 儀表板上展示我的 3D 模型。 esp 檔案是透過 cmd 視窗執行命令來開啟的,並在瀏覽器中開啟。我可以在儀表板中新增婚禮頁面,但是是否可以使用jsl呼叫cmd視窗並執行命令?謝謝你!
查看腳本索引中的運行程序(此處為 Coping JSL 示例)
RP = Run Program(
Executable( "PING.EXE"/*path probably not needed*/ ),
Options( {"-n 5", "localhost"} ),
ReadFunction( Function( {this}, Write( this << read ) ) )
);
有些事情可能需要您實際調用 cmd 但大多數情況下不需要。我只是想將所有輸出寫入我的用戶配置文件
Names default to here(1);
RP = Run Program(
Executable( "cmd"),
Options( {"\[/c "ping localhost > C:\users\my_user\ping_results.log 2>&1]\"} ),
ReadFunction( Function( {this}, Write( this << read ) ) )
);
我用這個發現介紹一直在使用運行程序時。