Binarybin Posted June 11, 2005 Share Posted June 11, 2005 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 Link to comment Share on other sites More sharing options...
scriptkitty Posted June 11, 2005 Share Posted June 11, 2005 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. Link to comment Share on other sites More sharing options...
Binarybin Posted June 11, 2005 Author Share Posted June 11, 2005 CLICK METhere 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. Link to comment Share on other sites More sharing options...
scriptkitty Posted June 11, 2005 Share Posted June 11, 2005 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. Link to comment Share on other sites More sharing options...
Binarybin Posted June 11, 2005 Author Share Posted June 11, 2005 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 Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted June 11, 2005 Share Posted June 11, 2005 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()) Link to comment Share on other sites More sharing options...
Binarybin Posted June 14, 2005 Author Share Posted June 14, 2005 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 Link to comment Share on other sites More sharing options...
scriptkitty Posted June 14, 2005 Share Posted June 14, 2005 depending on how secure you want it, you can do this:http://name:password@www.he.net/~jdoe/info...restricted.html AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Binarybin Posted June 15, 2005 Author Share Posted June 15, 2005 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 Link to comment Share on other sites More sharing options...
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