AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Should o::ö produce Ö when shift is held down?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  

Should AHK make capital letters when remap a key to a non-English key?
Yes
50%
 50%  [ 4 ]
No
25%
 25%  [ 2 ]
N/A (or don't care)
25%
 25%  [ 2 ]
Total Votes : 8

Author Message
POINTS



Joined: 18 Jan 2006
Posts: 283

PostPosted: Thu Jul 19, 2007 2:33 am    Post subject: Should o::ö produce Ö when shift is held down? Reply with quote

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
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10463

PostPosted: Thu Jul 19, 2007 1:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group