Here is a simple script that opens a display box and asks for the user's input, and returns the names of the first and second tab
Names Default To Here( 1 );
Tab1 = "Tab 1";
Tab2 = "Tab 2";
nw = New Window( "Enter Names of the Tabs",
modal,
V List Box(
Text Box( "Here are the default names of the" ),
Text Box( "tabs from the Excel file to read the" ),
Text Box( "data from. Please change the names" ),
Text Box( "if the tabs have different names" ),
Spacer Box( size( 1, 10 ) ),
t1 = Text Edit Box( "Tab 1", <<set script( Tab1 = t1 << get text ) ),
t2 = Text Edit Box( "Tab 2", <<set script( Tab2 = t2 << get text ) )
)
);
Show( tab1, tab2 );
Jim