AutoIt: 入力ボックスを表示してユーザーに文字列を入力させる
; inputbox.au3 ; 公開:2013年3月7日 ; 言語:AutoIt ; 説明:入力ボックスを表示してユーザーに文字列を入力させる。 $result = InputBox(Default, "文字列を入力してください。") ; 空ではない文字列が入力された If $result <> "" Then MsgBox(0, Default, $result) ; 入力された文字列が空 ElseIf $result = "" AND @error = 0 Then MsgBox(0, Default, "入力された文字列が空です。") ; Cancelボタンが押された ElseIf @error = 1 Then MsgBox(0, Default, "Cancelボタンが押されました。") ; その他 Else MsgBox(0, Default, @error) EndIf〘戻る〙