gseller Posted March 31, 2007 Share Posted March 31, 2007 Ok, here is my first attempt at building an auto logger. I want to build a GUI to gather a username and password to store and use everytime the application is ran. The numpad and enter must be used on each keystroke for this to work in the vbs application it is running. Can anyone offer help? I want to be able to send this out to my coleges and they input their login info initially and run the app after that. Thanks for your input in advance Here is my code: CODEOpt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) Run('C:\Rockwell\Deskset\ConvergencePhonePanel.exe') WinWait("Convergence Phone Panel","") Sleep(2000) If Not WinActive("Convergence Phone Panel","") Then WinActivate("Convergence Phone Panel","") WinWaitActive("Convergence Phone Panel","") Send("{F9}{NUMPAD6}{NUMPAD5}{NUMPAD0}{NUMPAD0}{NUMPAD3}{NUMPAD3}{NUMPAD4}{NUMPAD9}{ENTER}S{ENTER}u{EN TER}d{ENTER}s{NUMPAD4}{NUMPAD9}{NUMPAD2}{NUMPAD8}{ENTER}") Link to comment Share on other sites More sharing options...
gseller Posted April 1, 2007 Author Share Posted April 1, 2007 Hello... I want to make an autologin for a phone system at work and I have completed this macro that works great for me. I would like to add a GUI that will run a new user thru a small setup that will gather their login info and set it to when they open the file from then on it will go thru the login sequence using their login. Can anyone offer advice as to th method for this? An ini file? text file and whatever it is, can it be encrypted? I am not looking for anyone to write the script, but some advice would be nice. Thank You... Link to comment Share on other sites More sharing options...
gseller Posted April 3, 2007 Author Share Posted April 3, 2007 WOW!! No One??? A simple auto login script got everyone stumped? LOL Link to comment Share on other sites More sharing options...
Sypher Posted April 3, 2007 Share Posted April 3, 2007 Try AnyGui.. Might be useful in your situation. For saving usernames/passwords, i'd go with Inifiles. [username] password=PASS You can use _StringEncrypt with a strong key to encrypt (and decrypt) the password. Link to comment Share on other sites More sharing options...
gseller Posted April 3, 2007 Author Share Posted April 3, 2007 Thank you, i was beginning to think I had inhabited a bad user name. LOL I haven't seen any scripts to base off of so thank you for your input. 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