Choose Language Hide Translation Bar
lwx228
Level VII

How can you use a JSL implementation to select and jump to a currently invisible column?

Some columns are not visible on the current interface due to the number of columns in the data table.How to use the JSL implementation to select the penultimate column and transfer the interface to this column in the visible range.

 

 

2018-09-08_17-42-12.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
gzmorgan0
Super User

Re: How can you use a JSL implementation to select and jump to a currently invisible column?

Page 43 of the JMP Scripting Guide , available from Help > Books, very clearly states:

  • JMP cannot record scripts while you are working. Though script-recording is a useful
    feature in some other scripting languages, it is less important for software like JMP, where
    the results are what matter. You cannot use script-recording to observe how a sequence of
    interactive steps is performed.

Two weeks ago, I posted a response and script https://community.jmp.com/t5/Discussions/Select-specific-columns-with-JSL-name-contains-code/m-p/700...  

 

dt = current data table();

z = ncol(dt);

dt << bring window to front;
column(dt,z-1) << set selected;
dt<<goto(column(dt,z-1));

View solution in original post

4 REPLIES 4
Highlighted
lwx228
Level VII

Re: How can you use a JSL implementation to select and jump to a currently invisible column?

JMP's operations are not all recording JSL.Thank you very much!
Highlighted
lwx228
Level VII

Re: How can you use a JSL implementation to select and jump to a currently invisible column?

I can select the column in the following code, but I cannot implement a visual interface.

dt : cNa[z1-1]<< Set Selected( 1 );

or
dt : cNa[z1-1]<< Set Display Selected( 1 );
Highlighted
gzmorgan0
Super User

Re: How can you use a JSL implementation to select and jump to a currently invisible column?

Page 43 of the JMP Scripting Guide , available from Help > Books, very clearly states:

  • JMP cannot record scripts while you are working. Though script-recording is a useful
    feature in some other scripting languages, it is less important for software like JMP, where
    the results are what matter. You cannot use script-recording to observe how a sequence of
    interactive steps is performed.

Two weeks ago, I posted a response and script https://community.jmp.com/t5/Discussions/Select-specific-columns-with-JSL-name-contains-code/m-p/700...  

 

dt = current data table();

z = ncol(dt);

dt << bring window to front;
column(dt,z-1) << set selected;
dt<<goto(column(dt,z-1));

View solution in original post

Highlighted
lwx228
Level VII

Re: How can you use a JSL implementation to select and jump to a currently invisible column?

This community is a good place to study. Thank you for your guidance!
Article Labels

    There are no labels assigned to this post.