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
lala
Level IX

How to open this "Big Class" file with another JSL and directly open the "Distribution "JSL this file to enter the edit state?

Notice not running this "Distribution "JSL?
Give the specific code, thank you!

2023-05-16_14-51-53.png

1 ACCEPTED SOLUTION

Accepted Solutions
lala
Level IX

回复: How to open this "Big Class" file with another JSL and directly open the "Distribution "JSL this file to enter the edit state?

A script implementation of AutoHotkey is used.

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Run Program( executable( "I:\00\AHK\AutoHotkey.exe" ), options( {"I:\E\test.ahk"} ) );

2023-05-17_18-15-04.png

View solution in original post

4 REPLIES 4
lala
Level IX

回复: How to open this "Big Class" file with another JSL and directly open the "Distribution "JSL this file to enter the edit state?

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );


dist_jsl = dt << Get Scriptable Object( "Distribution" );

dist_jsl << Open Window;

 

??

回复: How to open this "Big Class" file with another JSL and directly open the "Distribution "JSL this file to enter the edit state?

I don't think there's a way to call up the built-in dialog box for editing table scripts, but this would get you close. You'd need to add a save button if you want to save the edits back to the table.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

jsl = dt << Get Script( "Distribution" );

nw = New Window( "Script", <<Modal, Script Box( Char( Name Expr( jsl ) ) ) );

 

lala
Level IX

回复: How to open this "Big Class" file with another JSL and directly open the "Distribution "JSL this file to enter the edit state?

Thanks!

lala
Level IX

回复: How to open this "Big Class" file with another JSL and directly open the "Distribution "JSL this file to enter the edit state?

A script implementation of AutoHotkey is used.

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Run Program( executable( "I:\00\AHK\AutoHotkey.exe" ), options( {"I:\E\test.ahk"} ) );

2023-05-17_18-15-04.png

Recommended Articles