Something like this?
Hotkey, LAlt, CtrlDown, On
Hotkey, LShift, CtrlDown, On
return
gks(kY){
return % sT := getKeyState(kY, "P")
}
CtrlDown:
while gks(A_ThisHotkey)
if gks(A_ThisHotkey = "LShift" ? "LAlt" : "LShift")
Send {F12 Down}
Send {F12 Up}
return
Yes, but instead F12 it should be Ctrl. I replaced F12 to Ctrl and it works, but i lost LAlt, and Shift fuctionality, then the single key is beeng pressed.
It's because this :
Hotkey, LAlt, CtrlDown, On
Hotkey, LShift, CtrlDown, On
And now it works when pressed Alt+Shift ok, BUT when Shift+Alt it works but, not realy well, hard to expplain it feels like lag.
And this problem still exsist:
Ok i found another problem then i press Shift + Alt then it acts like Ctrl, just as i want it, but it still reacts to Shift key i tried this:
LShift & LAlt:: Send {Shift Up}{Ctrl Down}
LShift & LAlt Up:: Send {Shift Up}{Ctrl Up}
But no luck
I tried to solve this, but now script works just one time and stops:
Hotkey, LAlt, CtrlDown, On
Hotkey, LShift, CtrlDown, On
return
gks(kY){
return % sT := getKeyState(kY, "P")
}
CtrlDown:
while gks(A_ThisHotkey)
if gks(A_ThisHotkey = "LShift" ? "LAlt" : "LShift")
Send {Ctrl Down}
Send {Ctrl Up}
Hotkey, LAlt, CtrlDown, Off
Hotkey, LShift, CtrlDown, Off
return