Jump to content
Sign in to follow this  
sroprogger

convering text to * ?!

Recommended Posts

sroprogger

Hello

i am programming an autologin programm for silkroad.In my GUI i have two inputboxes.One for ID and one for PW.You can give in your Id and Pw and hit the save button then the ID and PW are saved in a Config.ini.

Now to my problem:

I want that if you give in your password there should only be ***** instead of letters but in the Config.ini should stand the password you've given in.

Thx 4 help. :)

Share this post


Link to post
Share on other sites
Jos

Remarks

To obtain the value of the control see GUICtrlRead.

To set or change information in the control see GUICtrlSet....

For defining an input control for entering passwords (input is hidden with an asterisk) use the $ES_PASSWORD style.

If you want to drag & drop a filename onto this control just add the WS_EX_ACCEPTFILES extended style on the GUICreate() and set the state to $GUI_DROPACCEPTED.

After multiple drag and drop files on this control, you can retrieve the files name which are separated by "|" with GuiCtrlRead.

Default resizing is $GUI_DOCKHEIGHT.


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
aommaster

Well, in the GUI, the inputbox has some other flags that you can add. If you check the helpfile, it will tell you "Password character". You can use that flag to mask the password.

The INI file can be written to from the GuiCTRLread function, so it shouldn't cause a problem

Share this post


Link to post
Share on other sites
sroprogger

wow thank you very much !

You guys are awesome :)

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  

×