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

Checking if event or something was successful?

$
0
0

Hey all,

 

I have a T style GUI. As in tpanel, twordform etc.

 

 

Now in my script it opens the program up then clicks on a button.

 

How do I check if the clicking of the button was successful?

 

I know it is successful because I see it but how to I check its success within the script?

 

Thanks :)

 

Some sample code:

 

[autoit]

WinWait("[TITLE:Info]")

ControlClick("[TITLE:Info]", "OK", "[CLASS:Button; INSTANCE:1]", "left", 1)
Sleep(500)

[/autoit]


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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