hab jetzt schon wieder ne neue frage^^
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <StatusBarConstants.au3>
#include <WindowsConstants.au3>
$Form1_1 = GUICreate("Label1", 403, 296, 494, 163)
GUISetBkColor(0xC0C0C0)
$Label1 = GUICtrlCreateLabel("Label2", 8, 120, 208, 17)
$Label2 = GUICtrlCreateLabel("Label3", 8, 136, 342, 17)
$Button1 = GUICtrlCreateButton("button1", 8, 152, 75, 25, 0)
$Label3 = GUICtrlCreateLabel("Label4", 8, 192, 202, 17)
$Label4 = GUICtrlCreateLabel("Label5", 8, 208, 330, 17)
$Label5 = GUICtrlCreateLabel("Label6", 8, 224, 341, 17)
$Button2 = GUICtrlCreateButton("Button2", 8, 240, 75, 25, 0)
$Label6 = GUICtrlCreateLabel("Label7", 8, 24, 354, 17)
$Label7 = GUICtrlCreateLabel("Label8", 8, 40, 389, 17)
$Label8 = GUICtrlCreateLabel("Label9", 8, 56, 53, 17)
$Button3 = GUICtrlCreateButton("Button3", 8, 80, 73, 25, 0)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
wie kann ich dem denn jetzt sagen das wenn er button1 drückt func1 machen soll button2 func2 usw
While True
$MSG = GUIGetMsg()
Select
Case $MSG = $Button1
Call("func1")
Case $MSG = $Button3
Call("func2")
Case $MSG = $Button3
Call("func3")
EndSelect
WEnd
so funkt es i-wie net^^ also wenn ich auf den button klicke tut der nix
pls help^^