You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
275 B
16 lines
275 B
;
|
|
; Turn script into wrapper for a program
|
|
;
|
|
|
|
CheckWinExist(Window) {
|
|
if !WinExist(Window) {
|
|
ExitApp
|
|
}
|
|
}
|
|
|
|
Run WrapperPath
|
|
SetTitleMatchMode 3
|
|
WinWait WrapperWindow,,600
|
|
|
|
; Check if window exists once per second
|
|
SetTimer CheckWinExist.Bind(WrapperWindow), 1000
|