hab den Ansatz nochmal umgebaut für Erweiterung...
Spoiler anzeigen
#include <Misc.au3>
[/autoit] [autoit][/autoit] [autoit]$dll = DllOpen("user32.dll")
Global $code = "", $timer = TimerInit()
While Sleep (10)
If _IsPressed("10", $dll) And _IsPressed("11", $dll) And $code <> "1" Then $code &= 1 ; erster Code als Tastenkombination
If _IsPressed("10", $dll) And _IsPressed("20", $dll) And $code = "1" Then $code &= 2 ; zweiter Code als Tastenkombination
; beliebig erweiterbar ...
If TimerDiff($timer) > 3000 And $code <> "" Then ; maximale Zeitdauer zum Eingeben des Codes als Tastenkombination
$code = ""
$timer = TimerInit()
EndIf
If $code = "12" Then ExitLoop ; beenden, wenn Code stimmt
WEnd
MsgBox(0,"_IsPressed", "End Key Pressed")
DllClose($dll)
DevFly, für Deine Lösung brauchst Du einen Keyboard Hook.
Das ist bei uns aber nicht gern gesehen, da das auch mißbraucht werden kann.