Hallo,
ich versuche grade mit HotKeySet Funktionen auf die F – Tasten zu legen. In meinem Beispiel funktionieren die ersten zwei belegten Tasten nicht. Hat da einer eine zündende Idee woran das liegen könnte?
Gruß Ingo
[autoit]HotKeySet("{RALT}{F1}", "_ALT_GR_F1") ;ALT-GR + F1
HotKeySet("^!{F2}", "_CTRL_Alt_F2") ;CTRL-Alt + F2
HotKeySet("{F2}", "_F2") ; F2
HotKeySet("+!d", "_Shift_Alt_d") ; Shift-Alt-d
HotKeySet("^!d", "_CTRL_Alt_d") ; CTRL-Alt-d
While 1
Sleep(100)
WEnd
Func _ALT_GR_F1 ()
MsgBox (0, "_ALT_GR_F1", "ALT-GR und F1")
EndFunc
Func _CTRL_Alt_F2 ()
MsgBox (0, "_ALT_GR_F2", "CTRL-Alt und F2")
EndFunc
Func _F2 ()
MsgBox (0, "_F2", "F2")
EndFunc
Func _Shift_Alt_d ()
MsgBox(4096,"Shift-Alt-d","Shift-Alt-d")
EndFunc
Func _CTRL_Alt_d ()
MsgBox(4096,"CTRL-Alt-d","CTRL-Alt-d")
EndFunc