Hi! I have a jmpprj file with multiple tables in it. To make it easier for users, I've created a journal within the project with script buttons to launch specific analyses.
- What is the best way to point to the dt in the script below? Open()? Other? If Open(), what is the correct file path (I am planning on sending this jmpprj file to many people and need the script to run "anywhere")
- How to ensure the output stays within the project?
- Any other tips on scripting within a project?
Thanks in advance, o-talented-JSL-scripters!
Names Default to Here (1);
dt = // how to refer to a given table in this project?
dt << Graph Builder(
Size( 2165, 1020 ),
Show Control Panel( 0 ),
Fit to Window,
Variables( X( :Platform ), Y( :Equipment.Simplified ) ),
Elements( Points( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
"Equipment.Simplified",
ScaleBox,
{Label Row( Show Major Grid( 1 ) )}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "Blah Blah Blah" )} )
)
);