Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
lwx228
Level VII

A few simple questions?Thanks!

1、
How do I make the background color of the previous version of the JSL editor as full of background color as the JMP15 version?

2020-07-02_18-39.png

2 REPLIES 2
Highlighted
lwx228
Level VII

Re: A few simple questions?Thanks!

2、
How to use JSL to achieve the data table interface to the left of the west column of each distance adjustment.

2020-07-02_18-44.png

Highlighted

Re: A few simple questions?Thanks!

For the first part, the vertical size of each box can be set and get with these commands:

Names Default to Here(1);

dt  = Open("C:\Users\eurmdm\Downloads\Big Class.jmp");

window = Get Window( "Big Class" );
window << show tree structure();
// show properties(window[SplitterBox(1)]) 
window[SplitterBox(1)] << Get sizes();
window[SplitterBox(1)] << Set Sizes ({0.6, 0.25, 0.15})

The object you are looking at is the SplitterBox object, and this has properties to be changed, like Get/Set sizes.

 

to change the width there are corresponding comands as well as you can see when you run this code after the previous one (as otherwise you do not have the reference to the table's splitterbox  

// window[SplitterBox(1)] << Get Width();
window[SplitterBox(1)] << Set Width(400);
wait(1);
window[SplitterBox(1)] << Set Width(200);
Article Labels