Automating software issue

Recommended Posts

jben 0

jben 0

Been real busy for a while and never really got chance to play with AutoIT. Anyways i'm not back to using it but struggling with something, so thought I would post here.

Basically I have created a script that automates a software installation. I have used winwait,winwaitactive and controlclick.

But I have a problem. The script installs the software fine. However there is the possibility that another form may pop up (dependant on the computer). I have used the winwaitactive on this and it works fine.

Only problem is, it will not work on the PC that the form pop doesn't appear on.

So basically, i'm wondering if theres code that will enable me to wait for it to pop up and if it doesn't then proceed with the next line of code. I know I can put a timeout on with winwait but I don't feel comfortable with that.