AutoIt Button

04/15/2008 12:41 Amelichen#1
Hi,
ich habe mir mal nen pickup bot erstellt

mit nem button der funct aber ich möchte noch ein button hinzufügen für AutoSend und Fish Bot
Und so habe ich mein erster Butto erstellt aber ich gebe genau das gleiche ein aber es kommt kein 2 button warumP?
Und ich möchte halt noch nen buton erstellen das der pick up ausgeht wie geht das??
------------------------------------------------
#include <GUIConstants.au3>

GUICreate("AmelieMaus Hack")
$Button1 = GUICtrlCreateButton( "PICKuP", 50, 50 ,50 ,50, $BS_ICON)
GUISetState (@SW_SHOW)

While 1
Send("{^}")
Wend

Func PickUp ()
EndFunc
04/17/2008 02:45 -Anthrax-#2
#include <GUIConstants.au3>
GUICreate("AmelieMaus Hack")
$Button1 = GUICtrlCreateButton( "PICKuP", 50, 50)
$Button2 = GUICtrlCreateButton( "Autosend", 50, 100)
$Button3 = GUICtrlCreateButton( "Fish Bot", 50, 150)
GUISetState ()

While 1
$MSG = GUIGetMsg()

Select
Case $MSG = $GUI_EVENT_CLOSE
Exit
Case $MSG = $Button1
;hier funktionscall
Case $MSG = $Button2
;hier funktionscall
Case $MSG = $Button3
;hier funktionscall
EndSelect
WEnd
Exit