Hi, steht in der Hilfe zu der Func Guictrlcreateinput
Spoiler anzeigen
[autoit]
#include<GUIConstantsEx.au3>
#include<EditConstants.au3>
Opt('MustDeclareVars', 1)
[/autoit] [autoit][/autoit] [autoit]Local $file, $btn, $msg
GUICreate(" My GUI input acceptfile", 320, 120, @DesktopWidth / 2 - 160, @DesktopHeight / 2 - 45)
$file = GUICtrlCreateInput("", 10, 5, 300, 20, $ES_PASSWORD)
$btn = GUICtrlCreateButton("Ok", 40, 75, 60, 20)
GUISetState()
[/autoit] [autoit][/autoit] [autoit]$msg = 0
While $msg <> $GUI_EVENT_CLOSE
$msg = GUIGetMsg()
Select
Case $msg = $btn
ExitLoop
EndSelect
WEnd