|
#include<windowsconstants.au3>
#include<guiconstantsex.au3>
$main = GUICreate(" ", @desktopwidth/4,@desktopheight/3,default, default,$WS_POPUP, $WS_EX_TOOLWINDOW)
guisetfont(20)
guictrlcreatelabel("请输入你要进入的网址。",9,9)
$yes=guictrlcreatebutton("确定",10,200)
$no=GUICtrlCreateButton("取消",200,200)
$info=guictrlcreateinput("",9,90,@desktopwidth/4-19,49)
guisetbkcolor("0x4FC6FF")
guisetstate()
while 1
$a=guigetmsg()
switch $a
case $gui_event_close
exit
Case $no
Exit
Case $yes
MsgBox(0," ",$yes)
Run(@comspec&" /c start "&$info)
endswitch
wend |
|