10031992 Posted June 26, 2009 Share Posted June 26, 2009 (edited) I managed to solve my problem Edited June 27, 2009 by 10031992 -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
BrettF Posted June 26, 2009 Share Posted June 26, 2009 Do not PM me for help. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
10031992 Posted June 26, 2009 Author Share Posted June 26, 2009 Sorry Because I was excited that it had succeeded, then there has ese problem, I was desperate -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
Authenticity Posted June 26, 2009 Share Posted June 26, 2009 You're not using Run(@AutoItExe & " /AutoIt3ExecuteLine "....) correctly and it would be far easier to use RunWait() instead of loop until the popup window doesn't exit anymore: Local $_MsgBox_ = "MsgBox(" & $iFlag & ", '" & $sTitle & "', '" & $sText & "', " & $iTime & ")" RunWait(@AutoItExe & ' /AutoIt3ExecuteLine "' & $_MsgBox_ & '"') ; ... Link to comment Share on other sites More sharing options...
10031992 Posted June 26, 2009 Author Share Posted June 26, 2009 (edited) Changed the way you speak and the error still persists Edited June 26, 2009 by 10031992 -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
Authenticity Posted June 26, 2009 Share Posted June 26, 2009 (edited) Put a MsgBox() or ConsoleWrite() call after the Do...Until loop in the _gercheck() function and see if gets called.Edit: By the way, nothing in your code is making the first message loop to terminate other than exiting the program. You need an ExitLoop statement somewhere in the loop to continue with the rest of the script below it. Edited June 26, 2009 by Authenticity Link to comment Share on other sites More sharing options...
10031992 Posted June 26, 2009 Author Share Posted June 26, 2009 (edited) I managed to solve my problem Edited June 27, 2009 by 10031992 -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
Authenticity Posted June 26, 2009 Share Posted June 26, 2009 You forgot to insert this one too into the function: Opt("guioneventmode", 1); allows us to use GUIsetonevent You need to work on your logic because right now your script is a mess. Link to comment Share on other sites More sharing options...
10031992 Posted June 26, 2009 Author Share Posted June 26, 2009 (edited) I put this is some time, has no utility, just forgot to take I think the problem is that after you do the login, appears the message "Login succ .." and to open the program, I put Runp ()oÝ÷ Ú+m®( z»-ännËh¢§¶©®+jl¨ºwvåÊËh¦+DÑnÆ墫¢jwhZZ0x-殶sduT6WDöäWfVçBb33c²uTôUdTåEô4Äõ4RÂgV÷C¶öæWFöFWBgV÷C²oÝ÷ ÚǧvØ^wè®fí¢Ø^jëh×6Func onautoitexit () Exit EndFunc; ==> onautoitexit so he quit the program when pressing the button Edited June 26, 2009 by 10031992 -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
Authenticity Posted June 26, 2009 Share Posted June 26, 2009 So you want to go back to the outer loop of the first message loop? If so, change how you handle it to something like: Func Runp() Opt('GUIOnEvenMode', 1) ; ... ; .. ; . Global $fLoop = True ; . $Form1 = GUICreate("LC "" Hack Public - gOHc -" & $version, 500, 300); GUISetOnEvent($GUI_EVENT_CLOSE, '_TerminateLoop') ; ... While $fLoop ; Processing stuff... Wend Opt('GUIOnEventMode', 0) EndFunc Func _TerminateLoop() $fLoop = False EndFunc Link to comment Share on other sites More sharing options...
10031992 Posted June 27, 2009 Author Share Posted June 27, 2009 someone has? The problem still persists I did what you said, but still not closing the program that drug, just missing, isso pra end up finishing my script -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
10031992 Posted June 27, 2009 Author Share Posted June 27, 2009 I managed to solve my problem -------------------------------------------------------------------------------------------------------------------------------------------- [center][/center][center]Autoit Support Forum in Portuguese | AutoitBrasil.com[/center] [sub]My Script :[/sub]Simples Login for Program Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now