while 1
if WinExists("aaa") then
msgbox(0,"",a存在)
endif
if WinExists("bbb") then
msgbox(0,"",b存在)
endif
if WinExists("ccc") then
msgbox(0,"",c存在)
endif
sleep(44000)
WEnd
$is_a = 1
while 1
if WinExists("aaa") And $is_a then
msgbox(0,"",a存在)
$is_a = 0
endif
if WinExists("bbb") then
msgbox(0,"",b存在)
endif
if WinExists("ccc") then
msgbox(0,"",c存在)
endif
sleep(44000)
WEnd