|
|
@ -8,9 +8,14 @@ CheckWinExist(Window) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
; TitleMatchMode can be set, but defaults to 3 if not set |
|
|
|
if (!IsSet(WrapperTitleMatchMode)) { |
|
|
|
WrapperTitleMatchMode:=3 |
|
|
|
} |
|
|
|
|
|
|
|
Run WrapperPath |
|
|
|
SetTitleMatchMode 3 |
|
|
|
WinWait WrapperWindow,,600 |
|
|
|
SetTitleMatchMode WrapperTitleMatchMode |
|
|
|
WinWait WrapperWindow,,300 |
|
|
|
|
|
|
|
; Check if window exists once per second |
|
|
|
SetTimer CheckWinExist.Bind(WrapperWindow), 1000 |