Jump to content

GUI Help saving login info for auto logger.


gseller
 Share

Recommended Posts

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}")

Link to comment
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...

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...