;Coder: Jonathan Möwe (Alexander Imka) 
;Copyright: DjBlume 

#include <GUIConstantsEx.au3> 
#include <StaticConstants.au3> 
#include <WindowsConstants.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!!") 
ContinueLoop 
EndIf 
if GUICtrlRead($Radio1) = $GUI_CHECKED Then ShellExecute("http://www.de.wikipedia.org/wiki/"&GUICtrlRead($input)) 
if GUICtrlRead($Radio2) = $GUI_CHECKED Then ShellExecute("http://www.lmgtfy.com/?q="&Guictrlread($input)&"+download") 
if GUICtrlRead($Radio3) = $GUI_CHECKED Then ShellExecute("http://www.gransfors.com/htm_ger/yxkunskap/bok36.html") 
if GUICtrlRead($Radio3) = $GUI_CHECKED Then ShellExecute("http://autoit.de/index.php?page=Forumrules") 
GUICtrlSetData($input,"") 
EndSwitch 
WEnd