AutoHotkey Community

It is currently May 27th, 2012, 5:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: October 18th, 2005, 5:20 pm 
Offline

Joined: September 24th, 2004, 3:00 pm
Posts: 814
Location: Germany
Hi,

some poeples have problems with the following script:
Code:
Hotkey, ^!ü, SubRoutine
Return

SubRoutine:
   msgbox, only a test
Return


They use AHK 1.0.40.0 under WinXP SP2. It seems they have a english version of WinXP set to german local settings. Also someone with a english keyboard reported this problem.

Image

_________________
Tekl


Report this post
Top
 Profile  
Reply with quote  
PostPosted: October 19th, 2005, 1:04 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Tekl wrote:
It seems they have a english version of WinXP set to german local settings. Also someone with a english keyboard reported this problem.
I think this is explained by the fact that when a script launches, it starts off with the system's default language. Therefore, a script launched under English layout will not be able to create hotkeys for keys that exist only in the German layout.

To work around this, try switching the script to German layout before it executes the Hotkey command. You could even do this programmatically by trying shimanov's method: verify language support, load a keyboard layout, and change the input language for each process/thread.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 19th, 2005, 9:48 am 
Offline

Joined: September 24th, 2004, 3:00 pm
Posts: 814
Location: Germany
Thanks Chris, the best solution for me is not to use the ü-Hotkey and let the user itself enter such hotkeys.

_________________
Tekl


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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