#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("打开", 367, 42, 289, 241)
$Input1 = GUICtrlCreateInput("10.64.20.54", 8, 8, 257, 21)
$Button1 = GUICtrlCreateButton("打开", 280, 8, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ShellExecute("" & GUICtrlRead($Input1))
EndSwitch
WEnd
|