Sign in to follow this  
Followers 0
Sniperwolf

hide password input

7 posts in this topic

Hi there, I have created a input for a password. The problem I have now is that everyone can see the password in the input during all the time the script is running, can you star it out? Like instead of autoit it shows ******, or something like that.

Share this post


Link to post
Share on other sites



Use $ES_PASSWORD as style for the input.

GUICtrlCreateInput("", 10, 10, 200, 20, $ES_PASSWORD)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

sweet, thanks.

edit: Now when looking again in the help file, gui styles, I see it. Will look harder next time

Edited by Sniperwolf

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I have try the above code and it is giving me an error:

$Password = GUICtrlCreateInput("", 88, 32, 201, 21, $ES_PASSWORD)

This is the Error:

$Password = GUICtrlCreateInput("", 88, 32, 201, 21, $ES_PASSWORD)
$Password = GUICtrlCreateInput("", 88, 32, 201, 21, ^ ERROR

Any Ideas...Thanks in advance.

Edited by 0gravity

Share this post


Link to post
Share on other sites

This page contains a list of the common and extended styles that can be used with windows, and also specific styles that can be used with controls. These styles are used in the "style" and/or "exStyle" parameters of many of the GUI functions. To use these values you must #include the file specified at the top of each section. 

Note: The "Value" is given just for reference, you should always use the "name" of the style in order to keep your scripts readable.

Share this post


Link to post
Share on other sites

Did you use #include<EditConstants.au3> ??

Wao thanks that was my problem.

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