jonnybravo Posted May 5, 2005 Posted May 5, 2005 can someone show me a autologin script and also it will attach a .ini file too it.. and what the .ini file would look like need it to be where other user can change it to put in differnt passwords and user names. ID=Accountname Password=*******
buzz44 Posted May 5, 2005 Posted May 5, 2005 Create an INIFile called "test.ini" with this information. [info] user = test user pass = test pass And run this script. $user = IniRead ( "test.ini", "info", "user", "user" ) $pass = IniRead ( "test.ini", "info", "pass", "" ) #include <GUIConstants.au3> GUICreate(" My GUI input acceptfile") GUICtrlCreateInput ($user , 10, 5, 300, 20) GUICtrlCreateInput ($pass, 10, 35, 300, 20) ; will not accept drag&drop files GUISetState () $msg = 0 While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg() Wend qq
jonnybravo Posted May 5, 2005 Author Posted May 5, 2005 i need it to do it in a window screen. not a gui msgbox.
scriptkitty Posted May 5, 2005 Posted May 5, 2005 [info] user = test user pass = test pass $user = IniRead ( "test.ini", "info", "user", "user" ) $pass = IniRead ( "test.ini", "info", "pass", "" ) winwaitactive("login window name","") controlsettext("login window name","","Edit1",$user); change Edit1 to the correct field controlsettext("login window name","","Edit2",$pass); ditto Controlclick("login window name","","Button1"); same with button1 AutoIt3, the MACGYVER Pocket Knife for computers.
jonnybravo Posted May 5, 2005 Author Posted May 5, 2005 (edited) oh k the screen comes up like this ID= PassWord= now there is no controlId for it and its in a window where u dont see any hiden text now if i do this command using mouse it will work.. MouseMove(720,354) MouseDown("left") MouseUp("left") MouseClick("left",720,354,2) Send("jacky{TAB}play") what im trying to do is access a ini file to write the account name and password in the box that is giving the codes u gave me dont access the box to write any of this in it. and there is no "login window name" all windows are the same and stay the same thru out... Edited May 6, 2005 by jonnybravo
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