cgaleano Posted May 4, 2016 Share Posted May 4, 2016 Hi, I'm new using the program, and I wonder if through the program I can do the following tasks?1.open a program with exe file.2. with this program open, on the window of the program,tab twice and then press enter to enable the logon window3. When asked username and password, enter the username and password defined in Windows accesses.(windows local accounts)Task 1 i managed to do it (I am new to this and for me it was something amazing)Task 2 do not know how to do it and the task 3 for me it is mission impossible. So I consulted with experts on the subject. Thanks Link to comment Share on other sites More sharing options...
Trong Posted May 4, 2016 Share Posted May 4, 2016 1. For open other program Use: Run(), ShellExecute() 2. Use: AutoIt Window Info to get >>>> Control <<<< Use: ControlSend () to sent Usename and Password Use: ControlClick() to press to Login button! Regards, Link to comment Share on other sites More sharing options...
cgaleano Posted May 4, 2016 Author Share Posted May 4, 2016 12 minutes ago, VIP said: 1. For open other program Use: Run(), ShellExecute() 2. Use: AutoIt Window Info to get >>>> Control <<<< Use: ControlSend () to sent Usename and Password Use: ControlClick() to press to Login button! Thanks, How can i send a TAB and theb ENTER? How can i use the windows credentials of the logged user? loca user on windows. Thanks Link to comment Share on other sites More sharing options...
Trong Posted May 4, 2016 Share Posted May 4, 2016 1 minute ago, cgaleano said: Thanks, How can i send a TAB and theb ENTER? How can i use the windows credentials of the logged user? loca user on windows. Thanks Send("{TAB}{ENTER}") Regards, Link to comment Share on other sites More sharing options...
Developers Jos Posted May 4, 2016 Developers Share Posted May 4, 2016 2 minutes ago, cgaleano said: How can i use the windows credentials of the logged user? loca user on windows. Explain what you mean exactly? You want a way to retrieve the current user's password? That's not possible. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
cgaleano Posted May 4, 2016 Author Share Posted May 4, 2016 Thanks Jos, and yes, that's was i meant. On the other way, is there a way to tell the program to look for the password on a external file based on the logged user? Thanks Link to comment Share on other sites More sharing options...
Damein Posted May 4, 2016 Share Posted May 4, 2016 It's highly ensecure but you could store the password in a text file and use if statements to retrieve it. Ie: If @Username = "Robert" Then ; Read text file for Robert ElseIf @Username = "Adam" Then ; Read text file for Adam EndIf Most recent sig. I made Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic 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