cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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