Let's say that Space is remapped to be Ctrl,
but I also have Ctrl remapped to send Z.
Is there a way to make it so that pressing Space, on release, also acts to send Z?
(To extrapolate, if Space is not used as part of a key combo, then it should act like Ctrl pressed alone, and thereby send Z: as that's what Ctrl is remapped to do.)
Remapped Key To Trigger A Physical Key: How? Topic is solved
Re: Remapped Key To Trigger A Physical Key: How?
Hallo,
perhaps this:"Space is remapped to be Ctrl, but I also have Ctrl remapped to send Z".
You like making your life miserable, don't you?
perhaps this:
Code: Select all
*Space:: ;part 1: Space remapped to Ctrl
SetKeyDelay -1
Send {Blind}{Ctrl DownR}
Return
*Space up:: ;part 2: Space remapped to Ctrl
SetKeyDelay -1
Send {Blind}{Ctrl up}
If A_PriorKey = Space ;if Space is not used as part of a key combo
Send, z ;on release sends Z
Return
Ctrl::z ;Ctrl remapped to Z
You like making your life miserable, don't you?
Re: Remapped Key To Trigger A Physical Key: How?
What is the "R" in "DownR"? It was crucial for making the script work properly.Rohwedder wrote: Hallo,
perhaps this:Code: Select all
Send {Blind}{Ctrl DownR}
Only in the short-term, haha. I've been developing a keyboard layout that's more efficient and even easier to learn than current layouts available (Dvorak, Halmak, etc.). It's nearly done, I'm just fine-tuning it now.Rohwedder wrote: You like making your life miserable, don't you?
Re: Remapped Key To Trigger A Physical Key: How? Topic is solved
Topic: Press DownR
https://autohotkey.com/docs/commands/Send.htm
DownR (where "R" stands for remapping, which is its main use) tells subsequent sends that if the key is automatically released, it should be pressed down again when send is finished. …
https://autohotkey.com/docs/commands/Send.htm
DownR (where "R" stands for remapping, which is its main use) tells subsequent sends that if the key is automatically released, it should be pressed down again when send is finished. …
Who is online
Users browsing this forum: Performance, Rohwedder and 110 guests