title pretty much says all, I spent hours trying it to get to work, trying countless combinations, none worked.
since ALT is my Crouch Hold & Slide Key I CANNOT rebind it, same goes with TAB for Spotting, so please dont suggest that...
I do have a crouch Toggle key though (y, German keyboard), which could be toggled when Tab is pressed and LAlt needs to be disabled.
Ive arrived at a somewhat working skript by now, but its not too reliable: Sometimes the Y press isnt recognized correctly it seems, maybe a small delay can change that?! Sleep command doesnt really seem to work with SendInput (which I want for speed/reliability I think) or Im too stupid to do correctly ^^
heres my code so far:
Code: Select all
*LAlt::return
Hotkey, *LAlt, Off
#If GetKeyState("LAlt", "P")
*Tab::
Hotkey, *LAlt, On
KeyWait, LAlt, LD
Send {Blind}{y}
Send {Tab down}
KeyWait, Tab
Send {Blind}Tab up}
Hotkey, *LAlt, Off
return
#if
Code: Select all
LAlt & Tab::
Send {Blind}{LAlt up}
Send {Blind}{y 8}
Send {Blind}{Tab down}
Send {Blind}{y 8}
KeyWait, Tab
Send {Tab up}
if GetKeyState("LAlt", "P")
Send {LAlt down}
return
Code: Select all
A4 038 d 0.03 LAlt
09 00F h d 0.02 Tab
07 000 i d 0.00 not found
07 000 i u 0.00 not found
A4 038 i u 0.00 LAlt
59 02C i d 0.00 y
59 02C i u 0.00 y
07 000 i d 0.00 not found
A4 038 i d 0.00 LAlt
07 000 i u 0.01 not found
07 000 i d 0.00 not found
07 000 i u 0.00 not found
A4 038 i u 0.00 LAlt
09 00F i d 0.00 Tab
07 000 i d 0.00 not found
A4 038 i d 0.00 LAlt
07 000 i u 0.02 not found
09 00F h d 0.47 Tab
09 00F h d 0.03 Tab
09 00F h d 0.03 Tab
09 00F s u 0.00 Tab
07 000 i d 0.02 not found
07 000 i u 0.00 not found
A4 038 i u 0.00 LAlt
09 00F i u 0.00 Tab
07 000 i d 0.00 not found
A4 038 i d 0.01 LAlt
07 000 i u 0.00 not found
A4 038 u 0.27 LAlt