1
votes

I use a Dvorak keyboard. Shortcuts like ctrl+x, ctrl+c, and ctrl+v are hard to use, so is there any way to remap them to ctrl+q, ctrl+j, and ctrl+k respectively, using AutoHotKey? Thanks!

2
In Windows and in all programs? One problem in doing this is that if i.e. ctrl+q is already bound to something, another place is needed to be found for thay key. In Mac OS X it is possible to change the keylayout to be dvorak but with qwerty shortcuts. Not sure this is possible in Windows. Personally I think it is really confusing. When I think of c and ctrl+c I want it in the same location.emil
Yes and it is very easy. Just by reading the documentation you could do it.autohotkey.com/docs/Hotkeys.htmuser1944441
I'm sorry. This was a waste of your time. I just entered the code wrong, and in all that time staring at it it just didn't register. Thanks for responding so promptly, though!Matthew Gregoire

2 Answers

1
votes

It is straightforward indeed, only to achieve the effect you want, you need to code it the opposite way:

^q::^x
^j::^c
^k::^v

It translates to <what-keys-you-press>::<what-is-sent-instead>. Just be aware you may create a conflict, if some application happens to have these shortcuts defined.

0
votes

Yes, this is pretty straight forward.

^x::^q
^c::^j
^v::^k

Note, this does not alter the behavior of the original shortcuts. To do that you would have to remap those as well. For more information, look at "remap keys or mouse buttons" in the help file. It also describes a method for remapping keys somewhat more directly from the registry.