MarkH Posted December 13, 2017 Share Posted December 13, 2017 I have to enter the Active Directory authentication details twice for an internal site, due to https. First login is fine, it sometimes fails on the second one, as credentials are not filled in properly. Which i suspect is due to timing. I have tried to slow things down, but it is failing on the "SendKeyDelay" ...? am i using the wrong way to slow things down ? see code i am using : send("name@mysite.com") send("{TAB}") send("mypassword") send("{ENTER}") opt(("SendKeyDelay", 10) send("name@mysite.com") send("{TAB}") send("mypassword") send("{ENTER}") Link to comment Share on other sites More sharing options...
BigDaddyO Posted December 13, 2017 Share Posted December 13, 2017 (edited) Send should be used as a last resort. Look into ControlSetText and ControlClick oops, just noticed you said https so this is a website. There is an extra ( in the opt line you have shown. other than that if you can use Internet explorer there are built in functions _IE... that should be able to work for you Edited December 13, 2017 by BigDaddyO 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