cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
V1N0V3R1T4S
This widget could not be displayed.
" alt = "Level II"/> V1N0V3R1T4S
Level II

JSL To Change Data Table Script Launch Window Size?

Hello, 

 

Does anyone know the JSL to change the size of the script-launcher window that's embedded in data tables? The area shown in the pic below, the log doesn't show anything when I adjust the size and I can't find the code that references what this area is:

 

V1N0V3R1T4S_1-1737754219150.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: JSL To Change Data Table Script Launch Window Size?

Here is one option

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
w_dt = Get Window(dt);
w_dt[SplitterBox(1)] << Set Width(500);
-Jarmo

View solution in original post

4 REPLIES 4
jthi
Super User

Re: JSL To Change Data Table Script Launch Window Size?

Here is one option

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
w_dt = Get Window(dt);
w_dt[SplitterBox(1)] << Set Width(500);
-Jarmo
joh13213
This widget could not be displayed.
" alt = "Level I"/> joh13213
Level I

Re: JSL To Change Data Table Script Launch Window Size?

Hi Jarmo,

Is there a script that allows changing the height of that window?
I have multiple scripts in a table, but the automatic sizing is hiding some of them.

joh13213_0-1741198912994.png

Manually adjusted height:

joh13213_1-1741198964731.png

 

 

jthi
Super User

Re: JSL To Change Data Table Script Launch Window Size?

You can try to adjust them with << Set Sizes

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

w_dt = Get Window(dt);
sb_dt = w_dt[SplitterBox(1)];

Show(sb_dt < get sizes);
wait(1); // demo purposes
w_dt[SplitterBox(1)] << Set Sizes({0.6, 0.3, 0.1})

and you can use << get sizes to get the initial sizing if needed

-Jarmo
lala
This widget could not be displayed.
" alt = "Level IX"/> lala
Level IX

Re: JSL To Change Data Table Script Launch Window Size?

Adjust this post I also asked, but the answer to adjust this height is still not found.

It's OK now.

Pro rata

Thanks!

 

 

Recommended Articles