AllSystemGo Posted March 19, 2007 Share Posted March 19, 2007 Hey guys, Just need a little help here. I need to access a secure web page ( HTTPS ) and do some stuff on the page. Right now that is the code that I have $sUrl = "https://10.128.0.10/ccmadmin" $oIE = _IECreate($sUrl) MouseMove(100,100,5) here is my problem. As soon as the _IECreate opens up the webpage I have a question asking if I want to accept that certificate. Which is ok but I can't do anything after that point until I accept manually. The windows is focused but all the instructions after the _IECreate aren't done. So I can't accept automatically the certificate. So basically all I need to know is how to let my instructions after the _IECreate continue so I can click or send a enter to accept the page. I hope I'm clear on my problem, if not let me know I'll try to explain better! Cheers Link to comment Share on other sites More sharing options...
UNO Posted March 19, 2007 Share Posted March 19, 2007 See http://www.autoitscript.com/forum/index.php?showtopic=42747 Hey guys, Just need a little help here. I need to access a secure web page ( HTTPS ) and do some stuff on the page. Right now that is the code that I have $sUrl = "https://10.128.0.10/ccmadmin" $oIE = _IECreate($sUrl) MouseMove(100,100,5) here is my problem. As soon as the _IECreate opens up the webpage I have a question asking if I want to accept that certificate. Which is ok but I can't do anything after that point until I accept manually. The windows is focused but all the instructions after the _IECreate aren't done. So I can't accept automatically the certificate. So basically all I need to know is how to let my instructions after the _IECreate continue so I can click or send a enter to accept the page. I hope I'm clear on my problem, if not let me know I'll try to explain better! Cheers Link to comment Share on other sites More sharing options...
AllSystemGo Posted March 19, 2007 Author Share Posted March 19, 2007 (edited) Thank you for the link Uno but unfortunately it's doens't work. It's like everything after the _IECreate does work until I accept that first and second screen. First Screen is the certificate that needs to be accepted and the second one is the user/pwd Any other ideas?? Cheers Edited March 19, 2007 by AllSystemGo Link to comment Share on other sites More sharing options...
seandisanti Posted March 19, 2007 Share Posted March 19, 2007 Thank you for the link Uno but unfortunately it's doens't work. It's like everything after the _IECreate does work until I accept that first and second screen. First Screen is the certificate that needs to be accepted and the second one is the user/pwdAny other ideas??Cheersyou could have an adlib function watch for the certificate window Link to comment Share on other sites More sharing options...
AllSystemGo Posted March 19, 2007 Author Share Posted March 19, 2007 Yep seems to work. Thxs for the info. You don't think there is another do you?? If not thxs for the help. Cheers Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 19, 2007 Moderators Share Posted March 19, 2007 Yep seems to work. Thxs for the info. You don't think there is another do you??If not thxs for the help.CheersConsidering that AutoIt doesn't have multi-threading capabilities, you'll have to live with:1. AdlibEnable2. Running another executable3. Make use of /AutoIt3ExecuteLine or /AutoIt3ExecuteScript Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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