Jump to content

Recommended Posts

I do this a lot, it is actually quite easy.

First, most HTML pages have a sign in for the title, or similar funtion.

See what you can take on this.

$page="http://login.passport.net/uilogin.srf?id=2"
Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE "& $page)
WinWaitActive("Please sign in")
; you can use a quick find on the page if your page doesn't automatically
; have the username in focus
;send("^f")
;WinWaitActive("Find")
;send("Sign me in automatically{enter}")
;sleep(1000)
;send("{esc}{tab 3}")
WinSetTitle ("Please sign in","","Waiting for next step")
; I rename the window so I know when the next one comes in.
send("MyUsername@hotmail.com{tab}Mypassword{enter}")

This uses simple keyboard navigation, you can also use pixelcolor and other things.

if you tab on to a button, you can send the spacebar key to push it.

Hope this helps

AutoIt3, the MACGYVER Pocket Knife for computers.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...