autohotkey: map a key to 2 different hotkeys + need 0 delay

0

I don't have any hotkeys free. And i need use alt for alt, while i need it when i press it to act like i pressed small l.
But with autohotkey code sendinput {l down} {l up} it cause bug i can't explain.
Or sendinput l there is delay, it is not an option for me.
Only thing which worked was alt::l which disabled alt, so it is not an option. I need 0 delay. I tried in past even different scripts, but it still has delay , or it is bugging my game...

kek5908

Posted 2019-07-13T13:44:52.247

Reputation: 1

1How do you distinguish between "Alt"->Alt and "Alt"->l? – harrymc – 2019-07-13T13:56:19.477

I honeslty don't know how would i do that... i just put into script this line of code, because when i press alt, even it sends out keypress l, it still works as alt aswell. Maybe that delay is caused because there are 2 hotkeys. I would rather have pressed l, before alt if it is possible. – kek5908 – 2019-07-13T14:16:31.103

You would need another modifier key. This is clearly for gaming, but maybe you should re-think your keys. – harrymc – 2019-07-13T14:53:37.870

I would, but in game i am playing you can't use other key than alt for certain action. Only other option would be win key, but it is to much to the left to comfortably press win+r. Please any ideas ? I play starcraft 2 and it is really important to have this key, i have delay currently and it hard to play with it! – kek5908 – 2019-07-13T15:55:54.447

You could perhaps use "Alt" for the fast key and "double-press Alt" to generate the other. However, the first Alt will still execute as Alt, and if the game calls for many presses then some would come out as double-press and some as not, which is confusing. – harrymc – 2019-07-13T16:00:26.987

Well i play starcraft 2, in short: it is would be impossible, this is so important for me i there is no other key i can use. And i have delay, i tried all kinds of send and still have huge latency. Please help !!! If i could prefer l, so l has no latency and alt has a little bit, i use alt for thing which doesn't need that kind of precision. – kek5908 – 2019-07-15T23:30:41.767

No answers