ykphuah Posted August 20, 2014 Share Posted August 20, 2014 In my script, I called something like this: $o_loginForm = _IEFormGetObjByName($o_IE, "f1") if Not IsObj($o_loginForm) Then MsgBox(0, "Error", "Failed to get login form") Exit EndIf From testing, it seems that if I login as a normal user (domain user), then the o_loginForm will not be valid. However, if I run this code from a command prompt that is "run as administrator", then it worked properly. Is there a specific IE settings to configure this? Link to comment Share on other sites More sharing options...
MikahS Posted August 20, 2014 Share Posted August 20, 2014 (edited) welcome to the autoit forums ykphuah, using code tags - [ autoit ] [ / autoit ] (<--- just take out the spaces and put your code inside) will wrap your code in color syntax highlighting. I see that that is not your full script. Would you mind posting it? Edited August 20, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ 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