Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

winexists/winwait problem

$
0
0

i have the following code. i tried winwait but that didnt work.
I am trhying winexisting and it doesn't work. I know this because the msgbox
does not display the "here" message hence the controlclick will not work.

the window is a window that i created. the didtle is correct "MCH Win2"
see attachment this is a screen print.


opt("WinTitleMatchMode", 2)
			 
	while 1			
	if winexists("MCH Win2") then 
		ExitLoop
	EndIf
	sleep(400)
	wend
	
	
	msgbox(0,"","here")
	controlclick("MCH Win2","","Button1","left")

Attached Files


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>