I just installed Autoit, Here is another Example using GUI
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Run", 309, 125, 353, 360)
$Label1 = GUICtrlCreateLabel("Type the name of a program, folder, document, or", 56, 8, 237, 17)
$Label2 = GUICtrlCreateLabel("Internet resource, and Windows will open it for you.", 56, 32, 245, 17)
$Icon1 = GUICtrlCreateIcon("C:\Program Files\AutoIt3\Icons\au3.ico", -1, 8, 8, 32, 32, BitOR($SS_NOTIFY,$WS_GROUP))
$Input1 = GUICtrlCreateInput("", 56, 56, 241, 21)
$Button1 = GUICtrlCreateButton("ok", 224, 88, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ShellExecuteWait($Input1)
EndSwitch
WEnd
I Used "Koda" for creating the GUI, you can too...
Always remember to read help file, it 've all the information + basic tutorials.