cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
miguello
Level VII

Example of a script to make dialogue window to cast columns in different roles

I need to script something like a Join or Update dialog window, with all the Clear, Recall, Remove buttons etc. Basically, I will be choosing what columns to work with (like casting columns in different roles) and, for instance, matching two columns for further use etc. I hope there is an example script for that somewhere. Does anybody know?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
miguello
Level VII

Re: Example of a script to make dialogue window to cast columns in different roles

2 REPLIES 2
miguello
Level VII

Re: Example of a script to make dialogue window to cast columns in different roles

Byron_JMP
Staff

Re: Example of a script to make dialogue window to cast columns in different roles

@miguello That's a pretty good example (kudo).

 

I like this one from the scripting index. Help>Scripting Index, search for "column dialog"

 

Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
Column Dialog(
	ex y = ColList( "Y", Min Col( 1 ), Max Col( 2 ), Data Type( "Numeric" ) ),
	ex x = ColList( "X",
		Max Col( 1 ),
		Modeling Type( {"Continuous", "Multiple Response"} )
	),
	Line Up( 2,
		Text Box( "Alpha" ), ex = EditNumber( .05 ),
		Text Box( "Beta" ), ey = EditText( "xyz" )
	),
	HList( cb = Check Box( "check", 1 ) ),
	HList( combo = Combo Box( "option1", "option2" ) ),
	HList( rb = RadioButtons( "a", "b" ) )
);
JMP Systems Engineer, Health and Life Sciences (Pharma)

Recommended Articles