Sign in to follow this  
Followers 0
saulik

Winwait don´t Work

5 posts in this topic

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



#2 ·  Posted (edited)

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

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

Sorry,

I'm learning English still...

Silvio

Share this post


Link to post
Share on other sites

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  
Followers 0