大家好,
我正在創建一個自動腳本,人們可以使用它來輸入數據進行分析。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>