こんにちは。スクリプト内の MFI の名前フィルターとしてユーザー入力を参照しようとしていますが、スクリプトを実行すると、ユーザー入力ウィンドウを開く前に MFI 部分が最初に実行されるようです。何が間違っているのか、どなたかアドバイスをいただけませんか? よろしくお願いします!
Names Default To Here(1);
win = New Window( "Set the Value",
H List Box( Text Box( "Set this value" ), num_edit_box1 = Text Edit Box( "lot" ) ),
H List Box(
Button Box( "OK",
//store results in jsl variables
num_input = num_edit_box1 << get text();
//close the window
//wait until you've unloaded the input boxes before you closing
//or else they'll be gone
win << close window;
//now do whatever work you want with the inputs
Show( num_input );
Print( num_input );
),
//a cancel button that closes the window and doesn't store store the results
Button Box( "Cancel", win << close window )
)
);
Multiple File Import(
<<SET folder=""></SET>
<BR />