#include <GUIConstants.au3>
$Form2 = GUICreate("Dialog", 316, 111, 347, 263)
GUISetIcon("D:\003.ico")
$GroupBox1 = GUICtrlCreateGroup("", 8, 1, 297, 65)
$Text = GUICtrlCreateInput("Enter some text here...", 56, 24, 193, 21)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("&Create", 113, 75, 75, 25, 0)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd There is a GUI interface to input the variable $ Text. After clicking on "Create", to create a new EXE file with a given variable $ Text: $OP=FileOpen ( "textfile.txt", 1)
FileWriteLine ( $OP, $Text)
FileClose ($OP) As a result, we get an EXE file, after the implementation of which will create a text file with the entered text. Now it is "Enter some text here..." How is it implemented?