For those of you who wish to be different. #include <GUIConstants.au3> $gui_win = GUICreate("My GUI", 320,140, @DesktopWidth/2-160, @DesktopHeight/2-45) $char = GUICtrlCreateInput ( "", 10, 5, 300, 20) $input = GUICtrlCreateInput ("", 10, 35, 300, 20,$ES_PASSWORD) $change = GUICtrlCreateButton ("Change", 40, 75, 60, 20) $nopwdchar = GUICtrlCreateButton ("No PWD Char", 40, 100, 100, 20) GUISetState () $msg = 0 While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg()