Jump to content
Sign in to follow this  
jonnybravo

need ur example

Recommended Posts

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=*******

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by jonnybravo

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...