cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
lala
Level VIII

How can copy the column name of a specified column to the Clipboard?

Use jsl.

For example, open "Big Class.jmp" and copy its second column name to the clipboard.

 

Thanks!

2 REPLIES 2
txnelson
Super User

Re: How can copy the column name of a specified column to the Clipboard?

There are a couple of easy ways to do this.

  1. Go to the Columns Panel on the left side of the data table and click on the column name you want to copy. cl1.JPGPause and then click on it again.  The display will change to a field that you can now copy from.cl2.JPG
  2. Double click on the column header, which will open up the Column Info dialog box.  You can copy the column name from there.cl3.JPG
Jim

Re: How can copy the column name of a specified column to the Clipboard?

Names Default to Here( 1 );

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

name = Column( dt, 2 ) << Get Name;

Set Clipboard( name );

 

I suggest that you learn to use the Help > Scripting Index. (I assume that you have already learned the scripting language and how to script JMP in general.) I was able to search and find the answer very quickly.