Jump to content

Recommended Posts

Posted

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

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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