Jump to content

Login Help.


Recommended Posts

Well now i'm using this script atm to login at a website :

run("C:\Program Files\Internet Explorer\iexplore.exe")
    winwaitactive("pagetitle - Internet Explorer")
    
    MouseClick ( "left", 446, 465, 1)
    Sleep (2000)
    MouseClick ( "left", 442, 301, 1)
    Send ($v_UserName)
    Mouseclick ( "left", 442, 323, 1)
    Send ($v_PassWord)
    Mouseclick ( "left", 471, 344, 1)
    Sleep (2000)

But sometimes the coordinates shift a bit and then i have to adjust it and it happened to me 3-4 times in 2 days that i had to replace all the coordinates from 68 Mouseclicks in total.

And i searched the forums and read everything about IE.au3 but i can't figure it out from the next thing what to do with it and i don't see anything else between <FORM></FORM>

<FORM method=post>
<TABLE align=center>
<TBODY>
<TR>
<TD width=100>Username:</TD>
<TD><INPUT style="WIDTH: 150px" maxLength=16 name=login></TD></TR>
<TR>
<TD width=100>Password:</TD>
<TD><INPUT style="WIDTH: 150px" type=password maxLength=16 value="" name=pass></TD></TR>
<TR>
<TD></TD>
<TD align=right><INPUT style="WIDTH: 100px" type=submit value=Login name=submit></TD></TR></TBODY></TABLE></FORM>

Can someone help me ?

Link to comment
Share on other sites

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Well i read it and i think i'm gonna stick with mouseclicks then because my first attempt had 9 errors and 1 warning and it's only 10 lines long so :think:

I'm gonna do it another time then because i need to go somewhere till sunday and monday i have school again and don't have time to this then.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...