Sign in to follow this  
Followers 0
Markus

passwordwriting

3 posts in this topic

Hi!

This is a little script where u can write a password, so that u dont see it.

With the button "get password" u can test if the script works and if your password isnt lost.

Sorry for my bad english.

Markus

Ps: I think that script is very complicated and it could be easier, if u have a better script for such a function plz send it to me

Passwort.zip


"It's easier to disintegrate an atom than a prejudice." (A.Einstein)---------------------------------------------------------------------------My C++ - tools:Tidy tool-->indents your c++ sourceCleanscript --> cleans autoit-code before compiling (co-author: peethebee)My tools:GUIBuilder-->build your window and get the source; german versionMy Games:OnlineGameCenter-->Online Chess and Connect4 with a rtf-chatSnake-->including a level editor to build your own levelsTetris-->the well known game, big funOther things:Tower of Hanoi-->perfect riddler with graphic output

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Would this not work?

#include <GUIConstants.au3>
GUICreate("Passwordwriting", 200, 160)
$idinput = GUICtrlCreateInput('', 40, 40, 120, Default, BitOR($ES_PASSWORD,$ES_AUTOHSCROLL))
$idpasswort = GUICtrlCreateButton("get password", 40, 80)
GUISetState()
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            Exit
        Case $msg = $idpasswort
            MsgBox(0, "Your password", GUICtrlRead($idinput))
            GUICtrlSetData($idinput, "")
    EndSelect
WEnd

Edit: Fixed a tiny issue with the style...

Edited by MSLx Fanboy

Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

Hi!

Nice idea, but it should really work in the way MSLx Fanboy suggested.

peethebee


vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

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