你好社區。 我在使用 ChatGPT 的腳本時遇到問題。 我想構建一個腳本,可以在“選擇框”中選擇特定列並設置規格限制上限和下限也顯示為列屬性上的圖形參考線。 之後,它將打開“Fit Y by X”圖表,如下圖所示。 請幫忙...@tx尼爾森
// Open a data table or replace "Data Table Name" with the name of your data table
dt = Current Data Table();
// Get the column names from the data table
columnNames = dt << Get Column Names("String");
// Create a new choice list
cl = New Window("Column Selection",
H List Box(
Choice Box(
columnNames,
"Select a Column",
Value(columnNames[1]),
Set Selected
),
Button Box("OK",
<<CLOSE window=""></CLOSE>