AutoHotkey Community

It is currently May 27th, 2012, 12:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: May 24th, 2011, 10:19 am 
Hi,

I have noticed that sending a sting fails if the character is present in the character tables of the keyboard layout, but is produced with a rare modifier which is not crtl, alt or shift.

I am using the Neo2 layout (http://en.wikipedia.org/wiki/Keyboard_layout#Neo). This layout uses some extra layers which are accessed with kana (a far east modifier) and a complete new modifier.

::test1::¹²³ will give you “123” because ¹²³ are on one of the new layers above 123 (accessed with the new modifier).
::test2:: ₁₂₃ will give you “°§ℓ” (which is 123 with shift) because this layer is accessed with shift and the new modifier.

I have no problems to send characters which are not in the character table:

::test3::⁈⁉ will give you actually “⁉⁈”

IMHO AutoHotkey should not only check if the character is listed in keyboard layouts character table, but also if it’s able to handle its modifier. If not it should send the character like those not present in the layout table

I know the Neo2 layout is a complete new layout, but I am pretty sure it affects many far east layouts (that use kana), too.

I am using the latest AutoHotkey_L (unicode and 32bit)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 24th, 2011, 10:21 am 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
Did you save in UTF-8?

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 24th, 2011, 10:46 am 
yes, the script is saved as UTF-8.

I stumbled across this problem some time ago and now I’ve read in these threads¹² about the same problem.

¹ http://de.autohotkey.com/forum/viewtopic.php?t=8654 (german)
² http://www.autohotkey.com/forum/topic72249.html (english)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 26th, 2011, 11:07 am 
http://www.autohotkey.com/forum/post-447351.html#447351
This thread presents a workaround by introducing {Uni}, a send mode which avoids sending keystrokes.

Maybe a developer of AutoHotkey can add it for future builds of AutoHotkey_L


Report this post
Top
  
Reply with quote  
PostPosted: July 17th, 2011, 2:18 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
I'm not sure if it will (completely) solve your problem, but I have made a change in v1.1.00.01 which may help.
Quote:
Added check to avoid incorrectly sending keystrokes for characters which actually require the "hankoku" key.

The "hankaku" key is the only modifier supported by VkKeyScanEx and not AutoHotkey. (I just realised that I, unfortunately, mispelled the name.)

Update on 2011-08-06: I believe this change only covered Mod3, not Mod4. See this post for more details.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group