saulik Posted August 14, 2012 Posted August 14, 2012 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
JohnQSmith Posted August 14, 2012 Posted August 14, 2012 (edited) What's wrong with my code?. My version is 1.79Your 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 August 14, 2012 by JohnQSmith Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".
saulik Posted August 14, 2012 Author Posted August 14, 2012 Ok John, but the version 3.3.81 solve it's problem?. My code That's right?.Kings Regards
saulik Posted August 14, 2012 Author Posted August 14, 2012 Sorry, I'm learning English still... Silvio
Recommended Posts