| View previous topic :: View next topic |
| Should AHK make capital letters when remap a key to a non-English key? |
| Yes |
|
50% |
[ 4 ] |
| No |
|
25% |
[ 2 ] |
| N/A (or don't care) |
|
25% |
[ 2 ] |
|
| Total Votes : 8 |
|
| Author |
Message |
POINTS
Joined: 18 Jan 2006 Posts: 283
|
Posted: Thu Jul 19, 2007 2:33 am Post subject: Should o::ö produce Ö when shift is held down? |
|
|
Should AHK make capital letters when remap a key to a non-English key?
| Code: | ; works as expected
b::Send, z
c::y
; shift and o does not make Ö
o::ö
; does not always work as intended
n::ñ
+n::Ñ
; works as expected
u::Send, ü
+u::Send, Ü
; does not always work as intended
a::ä
+a::Send, Ä |
I would think that n::ñ should make Ñ when shift is held down. _________________ My AutoHotkey Program for Warcraft III:
Warkeys
http://warkeys.sourceforge.net/
Remap your hotkeys
Healthbars always on
Remap inventory |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Thu Jul 19, 2007 1:44 pm Post subject: |
|
|
Each remapped key is currently implemented as a pair of hotkeys. Such hotkeys use the Send command to send the new character in place of the one the user typed. However, when the new character doesn't exist in the keyboard layout, the {ASC nnnnn} method is used to create the character. But the ASC method doesn't support the shift key to make the result uppercase.
In light of these things, it would be difficult to support automatic case conformance on keyboard layouts that lack the specified character. To work around this, it might be possible to manually copy the hotkey pair from the remapping page, then duplicate it so that there are four hotkeys: one pair for uppercase and one for lowercase. |
|
| Back to top |
|
 |
|