* * *
On US keyboards, they are located on the same key. But as far as I know, it is not always the case: for example, on Italian keyboards, they are on different keys.
Why I'm asking this?
For example, if some app doesn't have shortcuts for zoom, I can find a workaround with AHK. And I would prefer to use Cotrol+Plus and Control+Minus for this. However, if I want my scripts to work flawlessly on different keyboards (English, Italian, Qwerty, Dvorak, ...), I need to think about issues such a following one (ahk v2, qwerty):
Code: Select all
; version 1. Works correctly on US keyboards
; Doesn't work correctly on Italian ones
^+::
^=::
^NumpadAdd:: {
...
}
Code: Select all
; version 2. Works correctly on both US and Italian keyboards,
; but pressing the Shift key on US keyboards may seem boring
^+:: ; It is assumed you press Ctrl+Shift+=
^NumpadAdd:: {
...
}