cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

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