Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ButtonConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <StaticConstants.au3>
- #include <WindowsConstants.au3>
- #include <IE.au3>
- $Form1 = GUICreate("Alles könner", 330, 200, 192, 124)
- $Radio1 = GUICtrlCreateRadio("etwas wissen", 24, 48)
- GUICtrlSetState(-1,$GUI_CHECKED)
- $Radio2 = GUICtrlCreateRadio("etwas Downloaden", 24, 80)
- $Radio3 = GUICtrlCreateRadio("jemanden hacken", 24, 112)
- $Radio4 = GUICtrlCreateRadio("einen AutoIt Bot", 24, 144)
- $Group1 = GUICtrlCreateGroup("Ich will...", 8, 8, 145, 180)
- $wen = GUICtrlCreateLabel("Wen, Was oder Wofür:", 184, 40)
- $input = GUICtrlCreateInput("",184,60,137)
- $Start = GUICtrlCreateButton("Start", 184, 88, 137, 33, $WS_GROUP)
- GUISetState(@SW_SHOW)
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- Case $Start
- if GUICtrlRead($input) = "" Then MsgBox(16,"Error","Woher soll ich jetzt Wissen, was du willst? trage auch was ein!!")
- if GUICtrlRead($Radio1) = $GUI_CHECKED Then _IECreate("http://www.wikipedia.org")
- if GUICtrlRead($Radio2) = $GUI_CHECKED Then _IECreate("http://www.gidf.de")
- if GUICtrlRead($Radio3) = $GUI_CHECKED Then _IECreate("http://www.google.de/search?q="& $input)
- Exit
- EndSwitch
- WEnd
Add Comment
Please, Sign In to add comment