Jump to content
Sign in to follow this  
saulik

Winwait don´t Work

Recommended Posts

saulik

I need to wait the windows before put my values, but winwait do not make this!!..

What's wrong with my code?. My version is 1.79

; Variables

Dim $r

Dim $e

WinActivate("[CLASS:Tform1]", "")

ControlClick("Form1", "", "[CLASS:TButton; TEXT:Button1; INSTANCE:1]")

$e = 0

If @error = 0 Then

$r = WinWait("[Form2]", "", 10)

If $r = 1 Then

WinActivate("[CLASS:Tform2]", "")

Send("{TAB}")

MsgBox(4096, "UPDATE", "Você está logado no ambiente INVESTPREV", 2)

Else

$e = 1

EndIf

EndIf

Share this post


Link to post
Share on other sites
JohnQSmith

What's wrong with my code?. My version is 1.79

Your version of what is 1.79?

Current stable AutoIt version is 3.3.8.1.

Edit: Also, didn't you yesterday for the same thing?

Edited by JohnQSmith

Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Share this post


Link to post
Share on other sites
saulik

Ok John, but the version 3.3.81 solve it's problem?. My code That's right?.

Kings Regards

Share this post


Link to post
Share on other sites
Valik

Thread locked for being a duplicate.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×