Sign in to follow this  
Followers 0
Binarybin

Beta Version COM Support IE POPUP Login help

9 posts in this topic

Filling forms out on IE based webpages is simple and easy now with com support, but does anybody know how to fill out a password protected site that pops up that IE dialog asking for username and password, using com? i can't find it, can't figure it out. :( been searchin for hours

Share this post


Link to post
Share on other sites



give me a example site.

Basically you can have autoit scan the OuterHTML for the javascript popup, or you can have autoit look for the page title to apear. Then attach to that object, and fill out that form.

Find the name of that page, and set yourself up a trigger.

Then use the generic attach script I list in 90% of my examples these days. :(


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

CLICK ME

There you go click me, its the password protectd site that is controlled by .htaccess, right when the page opens it gives you that prompt and you can't do anything, how do i attach to that little object.

Share this post


Link to post
Share on other sites

if you are using IE, then it pops open a standard box, use Control functions.

Controlsend("Enter Network Password","","Edit1","Username")

Controlsend("Enter Network Password","","Edit2","password")

Controlclick("Enter Network Password","","Button2")


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

I know thats the way I did it before, i just want to use COM instead if possible, as that fills in instantly instead of having it type it out key by key. And by COM there would be no mistakes at all that could happen, it would not fail. Thanks for the help scriptkitty, but is it possible to do this with COM support? and yes its with IE :(

Share this post


Link to post
Share on other sites

I believe passwords are passed through headers sent to the server. Can you embed a raw header into teh browser via COM?


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

I found this .Navigate that has options to send header or postdata information, think this will work? havn't tried it yet, but I know you can use the .Navigate COM to go to a url, will these other Method options work in it in the .navigate

Share this post


Link to post
Share on other sites

nope that no longer works in service pack 2, thats one of the things microsoft killed, does anybody know how to send that info via the navigate com

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  
Followers 0