Brauche Hilfe bitte!(AutoIt)

07/15/2011 08:12 >:-{Scâréd}-:<#1
Hallo,
Ich will mit AutoIt ein Programm erstellen, doch ich bekomm es nicht hin.
Was er tun soll:
Bisheriges Script:
PHP Code:
Global $Paused
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("[S4League]RC Bot"413261192124)
$Radio1 GUICtrlCreateRadio("F"3281922517)
$Radio2 GUICtrlCreateRadio("4"3282162517)
$Radio3 GUICtrlCreateRadio("C"3282402517)
$Group1 GUICtrlCreateGroup("Sets"3121767381)
GUICtrlCreateGroup("", -99, -9911)
$Button1 GUICtrlCreateButton("Start"321767525$WS_GROUP)
$Button2 GUICtrlCreateButton("Pause"1281767525$WS_GROUP)
$Button3 GUICtrlCreateButton("Pause Ende"2241767525$WS_GROUP)
$Button4 GUICtrlCreateButton("Exit"1282087525$WS_GROUP)
$Group2 GUICtrlCreateGroup("Weapinslot"312647397)
$Radio4 GUICtrlCreateRadio("1"320882517)
$Radio5 GUICtrlCreateRadio("2"3201122517)
$Radio6 GUICtrlCreateRadio("3"3201362517)
$Pic1 GUICtrlCreatePic("C:\Users\kagan\Desktop\33368750s4-pour-blog-jpg.jpg"00412260BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlCreateGroup("", -99, -9911)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button4
            
Exit
        Case 
$Button1
            ToolTip 
("Jetzt müsste es funktionieren",0,0)
        Case 
$Button2
            $Paused 
NOT $Paused
        
Case $Button3
            $Paused 
NOT $Paused
    
EndSwitch
WEnd 
07/15/2011 14:25 Kraizy​#2
Mit If-Abfragen kannst du das machen.
07/15/2011 15:45 >:-{Scâréd}-:<#3
Quote:
Originally Posted by xKraizy View Post
Mit If-Abfragen kannst du das machen.
Kannst du es mal bitte verbessern xD und zurück schreiben.
07/15/2011 15:49 Kraizy​#4
Was verbessern? Ich sehe keine falschen If-Abfragen bzw. gar keine..
07/15/2011 20:51 >:-{Scâréd}-:<#5
Quote:
Originally Posted by xKraizy View Post
Mit If-Abfragen kannst du das machen.
Kannst du mir dazu ein Beispiel geben? xD
Also:
If...
EndIf
07/16/2011 19:21 ~kau~#6
Wie wärs mit...
Code:
if guictrlread($Radio1) = 1 then
Send("blabla was auch immer xD")
endif?!
07/17/2011 20:16 MrSm!th#7
#moved
07/18/2011 03:11 Freddy​#8
[Only registered and activated users can see links. Click Here To Register...]
07/18/2011 17:57 Furkan#9

So könnte es ungefähr aussehen..