Hey . ich habe eine frage. Ich möchte dass wenn mann eine bestimmte Reihenfolge an buttons drückt etwas passiert.
Wie ein Cheatcode sozusagen.
[autoit]#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("KK", 160, 88, 192, 124)
$Label1 = GUICtrlCreateButton("up", 28, 8, 40, 24)
$Label2 = GUICtrlCreateButton("down", 28, 56, 40, 24)
$Label3 = GUICtrlCreateButton("left", 8, 32, 40, 24)
$Label4 = GUICtrlCreateButton("right", 56, 32, 40, 24)
$Label5 = GUICtrlCreateButton("a", 104, 56, 40, 24)
$Label6 = GUICtrlCreateButton("b", 112, 32, 40, 24)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Label1
ConsoleWrite("UP")
Case $Label2
ConsoleWrite("DOWN")
Case $Label3
ConsoleWrite("LEFT")
Case $Label4
ConsoleWrite("RIGHT")
Case $Label5
ConsoleWrite("A")
Case $Label6
ConsoleWrite("B")
EndSwitch
WEnd