Hi all, I'm trying to present my 3D model on my jmp dashboard. The esp file is opened by executing a command through cmd window and opens up in a browser. I can add a wed page in the dashboard, but is it possible to use jsl to call cmd window and execute a command? Thank you!
Check out run program in the scripting index (Coping JSL Example here)
RP = Run Program(
Executable( "PING.EXE"/*path probably not needed*/ ),
Options( {"-n 5", "localhost"} ),
ReadFunction( Function( {this}, Write( this << read ) ) )
);
Some things might need you to actually call cmd but most shouldn't. I'm just trying to write all outputs to my userprofile
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 ) ) )
);
I use this discovery presentation all the time when working with run program.