Hallo,
Ich will mit AutoIt ein Programm erstellen, doch ich bekomm es nicht hin.
Was er tun soll:
Bisheriges Script:
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", 413, 261, 192, 124)
$Radio1 = GUICtrlCreateRadio("F", 328, 192, 25, 17)
$Radio2 = GUICtrlCreateRadio("4", 328, 216, 25, 17)
$Radio3 = GUICtrlCreateRadio("C", 328, 240, 25, 17)
$Group1 = GUICtrlCreateGroup("Sets", 312, 176, 73, 81)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Start", 32, 176, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Pause", 128, 176, 75, 25, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Pause Ende", 224, 176, 75, 25, $WS_GROUP)
$Button4 = GUICtrlCreateButton("Exit", 128, 208, 75, 25, $WS_GROUP)
$Group2 = GUICtrlCreateGroup("Weapinslot", 312, 64, 73, 97)
$Radio4 = GUICtrlCreateRadio("1", 320, 88, 25, 17)
$Radio5 = GUICtrlCreateRadio("2", 320, 112, 25, 17)
$Radio6 = GUICtrlCreateRadio("3", 320, 136, 25, 17)
$Pic1 = GUICtrlCreatePic("C:\Users\kagan\Desktop\33368750s4-pour-blog-jpg.jpg", 0, 0, 412, 260, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlCreateGroup("", -99, -99, 1, 1)
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