DavidTunnell Posted September 9, 2013 Share Posted September 9, 2013 I am trying to input a username and password into a windows security field: ShellExecute("MYNETWORKLOCATIONfolder") Sleep(20000) Send("username_here") Send("{TAB}") Send("password_here") Send("{ENTER}") The field opens up with the cursor by default in the username field but the text doesn't input. What am I doing wrong? Link to comment Share on other sites More sharing options...
Solution DW1 Posted September 9, 2013 Solution Share Posted September 9, 2013 ControlSetText("Windows Security", "", "[CLASS:Edit; INSTANCE:1]", "Username") ControlSetText("Windows Security", "", "[CLASS:Edit; INSTANCE:2]", "Password") AutoIt3 Online Help 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