cgaleano

Open program and send user+password

7 posts in this topic

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 window
3. 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. :cry: 
So I consulted with experts on the subject.

 

Thanks

Share this post


Link to post
Share on other sites



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,
 

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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,
 

Share this post


Link to post
Share on other sites
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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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

 

 

Share this post


Link to post
Share on other sites

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

 


MCR.jpg?t=1286371579

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now