I bought a new laptop and did not notice at the time in the store that it did not have any right ctrl key, they move the key for "<>|" there instead. Which is a bit irritating because now I need to do some shortcuts commands with both hands instead of only with right hand as before. The keys are now "space", "alt gr", "<>|", "arrow keys".
Is it possible with AHK to make so when I press both "alt gr"+"<" it will give me "ctrl"? Exemple so I could do like "virtul-ctrl"+"other key" command? How would a script like that look like? Thanks
How make "alt gr" + "<" give me "ctrl" Topic is solved
Re: How make "alt gr" + "<" give me "ctrl" Topic is solved
I'm not sure whether this always works, but it's an idea. It's for US keyboard, where , and < are on the same key.
Code: Select all
<^>!<::
SetKeyDelay -1
Send {Blind}{Ctrl DownR}{, up}{Shift up}{RAlt up}
SoundBeep, 1500
KeyWait, `,
Send {Blind}{Ctrl up}
SoundBeep, 1000
Return
Re: How make "alt gr" + "<" give me "ctrl"
Thanks for the try, but unfortunately it did not work.mikeyww wrote: ↑18 May 2022, 05:32I'm not sure whether this always works, but it's an idea. It's for US keyboard, where , and < are on the same key.
Code: Select all
<^>!<:: SetKeyDelay -1 Send {Blind}{Ctrl DownR}{, up}{Shift up}{RAlt up} SoundBeep, 1500 KeyWait, `, Send {Blind}{Ctrl up} SoundBeep, 1000 Return
Re: How make "alt gr" + "<" give me "ctrl"
OK. Worked here!
KeyHistory will show you the keys being pressed. You may be able to adjust accordingly.
KeyHistory will show you the keys being pressed. You may be able to adjust accordingly.
Re: How make "alt gr" + "<" give me "ctrl"
SORRY, it did work, Thanks
I first tested it with the stand alone AutoHotkey_2.0-beta.3 that didn´t need to be installed, but I just got a lot of errors then. But this time, after I saw your last comment that it work for you, I installed AHK (with AutoHotkey_1.1.34.02_setup.exe) and this time it work. So it was shit behind the keyboard, me
Thanks a lot again, I really appreciate your help.
I first tested it with the stand alone AutoHotkey_2.0-beta.3 that didn´t need to be installed, but I just got a lot of errors then. But this time, after I saw your last comment that it work for you, I installed AHK (with AutoHotkey_1.1.34.02_setup.exe) and this time it work. So it was shit behind the keyboard, me
Thanks a lot again, I really appreciate your help.