Hallo,
ich brauche noch einmal eure Hilfe und werde euch danach vorerst nicht weiterhin nerven.
Ich habe nun alles Mögliche ausprobiert, doch nun kann ich meinem 2 ten Button keinem Befehl zuweisen, da dann nichts passiert, wenn ich auf den Button drücke. Beim ersten Button funktionier alles einwandfrei.
Skript :
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1_1 = GUICreate("Form1", 551, 441, 284, 302)
$Event1 = GUICtrlCreateButton("v1", 8, 128, 137, 25, $WS_GROUP)
$Event2 = GUICtrlCreateButton("v4", 8, 304, 137, 25, $WS_GROUP)
$Event3 = GUICtrlCreateButton("v3", 8, 248, 137, 25, $WS_GROUP)
$Event4 = GUICtrlCreateButton("v5", 8, 368, 137, 25, $WS_GROUP)
$Event = GUICtrlCreateButton("v2", 8, 184, 137, 25, $WS_GROUP)
$Pic1 = GUICtrlCreatePic("fuerdastool.jpg", 0, 0, 550, 440, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Event
MsgBox(64, "Test", "Dies ist nur ein Test.")
sleep (10000)
EndSwitch
WEnd
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Event1
MsgBox(64, "Test", "Testversuch")
EndSwitch
WEnd
Func _Start()
EndFunc
Func _Exit()
EndFunc
1. Frage : Wieso passiert nichts, wenn ich auf den 2 Button drücke?
2. Frage : Wo soll ich Hotkeyset hinpacken, da er bei mir irgendwie nicht funktioniert.
Danke im voraus.
MfG White