Jump to content

Password Look


ARozanski
 Share

Recommended Posts

Hi, i am very new to AutoIt so any help will be much appreciated...

I want to create a GUI with all sorts of functions, one of them asks the user for the Username and password. What i want to do with the password is: When they enter the password into the input it hides it with "*' or dots...

I know there exists a function InputBox - but that creates a window on its own...which i do not want...is there an alternative methode??

CODE
#include <GUIConstants.au3>

$Head = GUICreate("Test", 1000,650)

;TABS*************************************************************

$Tabmenu = GUICtrlCreateTab( 10, 290,600,330 )

;TAB1--------

$Tab1 = GUICtrlCreateTabItem('Menu')

GUICtrlCreateLabel("Username:",20,355)

$Username = GUICtrlCreateInput("<Username>",80,353,150,20)

GUICtrlCreateLabel("Password:",250,355)

$Password = GUICtrlCreateInput("<Password>",310,353,150,20)

;END OF TAB1

;TAB2-----------

$Tab2 = GUICtrlCreateTabItem('Properties')

;END TAB2-------

GUICtrlCreateTabItem("")

;END TABS********************************************************

GUISetState(@SW_SHOW)

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

EndSwitch

WEnd

Thanks in advance...

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