Subscribe Bookmark RSS Feed

How do I name a table script saved to a Journal using comand inside a script?

chris_dennis

Community Trekker

Joined:

Nov 21, 2014

// current line is

CYT << Save Script for All Objects To Data Table;

SOOC << Save Script to Journal;

Result in journal is "new table"  I want to give it a better name like "my table"

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

This worked, thanks for the help and suggestions.

4 REPLIES
Byron_JMP

Staff

Joined:

Apr 26, 2012

Chris,

Before saving the script to the table, try renaming the data table.

dt=new table();

dt<<set name("test");

dt<< save script to journal;

Cheers,

Byron

chris_dennis

Community Trekker

Joined:

Nov 21, 2014

Running the suggestion results in same “New Table”.

Any other suggestions?

Thanks, Chris

ms

Super User

Joined:

Jun 23, 2011

dt = New Table();

dt << save script to journal;

Current Journal()[Button Box( 1 )] << set button name( "My table" );

Solution

This worked, thanks for the help and suggestions.