#include <FileConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
Local $hGUI = GUICreate("Запуск сайта в IE", 500, 200)
Local $idinput = GUICtrlCreateInput("www.autoitscript.com", 0, 0, 500, 25)
Local $idbutton1 = GUICtrlCreateButton("Запустить сайт в IE", 0, 50, 185, 25)
GUISetState(@SW_SHOW, $hGUI)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
Case $idbutton1
Local $url = GUICtrlRead($idinput)
Local $oIE = _IECreate($url)
EndSwitch
WEnd
|