#author("2021-07-10T19:37:08+09:00","default:ryuichi","ryuichi")
#author("2021-07-10T19:46:05+09:00","default:ryuichi","ryuichi")
* ErrorLevel [#r9acbe21]


 WinWait, MyWindow,, 1
 if ErrorLevel   ; i.e. it's not blank or zero.
     MsgBox, The window does not exist.
     MsgBox, 16,, The window does not exist.
 else
     MsgBox, The window exists.

- ほとんどのコマンド、関数がセットするErrorLevelの値は '''1:エラー''' か '''0:正常'''

** 参考 [#i63f6d2e]

https://www.autohotkey.com/docs/misc/ErrorLevel.htm

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS