trante Posted May 15, 2012 Posted May 15, 2012 I have an EXE call it myprogram.exeIt has a login dialog. When i open exe that dialog opens.I need to enter my default passwords regarding to script type.* Script will check for the dialog frequently. I make it with this.Code:AdlibRegister("Myfunction",250);While 1Sleep(20)Wend* My function is like this:Code:Func Myfunction()If WinExists("My window name") ThenWinActivate("My window name")Send username and password hereSend("(ENTER DOWN)")Send("(ENTER UP)")EndIfEndFuncMy need is, function will check for the "textbox" of username and password.If window exists these two textboxes, data will be entered to textbox.When i close and reopen the EXE, script will check for that window again and enter password if textarea exists again.Which commands should i use to check whether a window has a textbox, thank you
stormbreaker Posted May 15, 2012 Posted May 15, 2012 (edited) And I thought disussing Auto-Login bots isn't allowed here. Damn... Did you really have a look at the forum rules? Take your time: http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/.ANOTHER SUGGESTION: Write in big letters bro. My vision is correct but have pitty on those with bad vision...Good luck. Edited May 15, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
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