BookmarkSubscribeSubscribe to RSS Feed
ram_asra_gmail_

Community Trekker

Joined:

Mar 21, 2013

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
ron_horne

Super User

Joined:

Jun 23, 2011

Solution

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
Highlighted
ron_horne

Super User

Joined:

Jun 23, 2011

Solution

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

Joined:

Feb 4, 2015

Re: JMP Script

thank you

ram_asra_gmail_

Community Trekker

Joined:

Mar 21, 2013

Re: JMP Script

Thanks Ron.