Jump to content

Winwait don´t Work


saulik
 Share

Recommended Posts

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

Link to comment
Share on other sites

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".

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...