Subscribe Bookmark RSS Feed

JMP Script

ram_asra_gmail_

Community Trekker

Joined:

Mar 21, 2013

How to rename the script name  saved in a data table,

e.g I used

DataTable("Stacked")<<save script to data table;

now it always create a Script name "New Table".

i want to rename this as "PD-PU_Stacked".

how i can do that?

Thanks

-Ram

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

hi Ram,

found this in the scripting guide, the last line is the answer.

ron

Names Default To Here( 1 );

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

dt << New Script( "New Script", Distribution( Column( :Height, :Weight ), By( :sex ) ) );

Wait( 1 );

dt << Rename Table Script( "New Script", "Great Script" );

3 REPLIES
Solution

hi Ram,

found this in the scripting guide, the last line is the answer.

ron

Names Default To Here( 1 );

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

dt << New Script( "New Script", Distribution( Column( :Height, :Weight ), By( :sex ) ) );

Wait( 1 );

dt << Rename Table Script( "New Script", "Great Script" );

z2632941

Community Trekker

Joined:

Feb 4, 2015

thank you

ram_asra_gmail_

Community Trekker

Joined:

Mar 21, 2013

Thanks Ron.