Sign in to follow this  
Followers 0
gseller

GUI Help saving login info for auto logger.

5 posts in this topic

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:

CODE
Opt("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}")

Share this post


Link to post
Share on other sites



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...

Share this post


Link to post
Share on other sites

WOW!! No One??? A simple auto login script got everyone stumped? LOL

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

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
Sign in to follow this  
Followers 0