大家好,
我正在创建一个自动脚本,人们可以使用它来输入数据进行分析。excel选项卡将具有预设名称“Tab 1”,“Tab 2”等。以便脚本完成数据分析。
我想知道是否可以输入一个在运行JMP脚本后弹出的窗口,然后他们可以将预设的“Tab 1”名称更改为他们可以键入的另一个名称?基本上提示应该是一个文本框,他们可以键入他们希望重命名标签的内容?
先感谢您,
乔
这是一个简单的脚本,打开一个显示框并询问用户的输入,并返回第一个和第二个选项卡的名称
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=""></SET>