BookmarkSubscribe
Choose Language Hide Translation Bar
ram_asra_gmail_
Community Trekker

JMP Script

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

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
ron_horne
Super User

Re: JMP Script

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 3
ron_horne
Super User

Re: JMP Script

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

Re: JMP Script

thank you

0 Kudos
ram_asra_gmail_
Community Trekker

Re: JMP Script

Thanks Ron.

0 Kudos