[You must be registered and logged in to see this image.]
มันมีไว้ทำไม???
ผมลองcompile คำสั่งinput มันก็ออกมาเป็น GUI -*-
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 264, 97, 192, 124)
$Button1 = GUICtrlCreateButton("Button1", 152, 16, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
For $i = 1 to 100
$i += 1
Sleep(100)
ConsoleWrite($i& @crlf)
Next
EndSwitch
WEnd
|
|