Wie schreibe ich das , das wenn ich ein passwort habe und zu faul bin um es IMMERWIEDER aus einer txt datei zu copyn und daher dacht ich mia naja oki ebend txt pw rein und push button dann is copy bitte help :S :D
Hier :
Hier :
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Copy Programm - by Emo!", 354, 73, 192, 124)
$Button1 = GUICtrlCreateButton("TxT Auswählen", 8, 8, 339, 25)
$Input1 = GUICtrlCreateInput("Hier .txt", 9, 40, 335, 24, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER,$WS_BORDER,$WS_CLIPSIBLINGS), $WS_EX_STATICEDGE)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFF00FF)
GUICtrlSetBkColor(-1, 0x000000)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$1 = FileSaveDialog("Text Datei Auswählen","","(*.txt*)")
GUICtrlSetState($Button1,$GUI_DISABLE)
GUICtrlSetData($Button1,$1)
$11 = FileRead($1)
GUICtrlSetData($Input1,$11)
EndSwitch
WEnd