Opened 12 years ago
Closed 12 years ago
#2685 closed Feature Request (Fixed)
HotKeyRegister fails to register a Hungarian letter
| Reported by: | Unc3nZureD | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.13.2 | Component: | AutoIt |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
I already made (I think 2) topic on the forum, but I think it's a bug. I'd like to register the í or Í (capital) letter as a HotKey, but it just does nothing.
Here's a link to the thread which gives a small reproduction of the bug:
http://www.autoitscript.com/forum/topic/159056-set-hotkey-on-2-specific-button/
In C, probably you use RegisterHotKey.Just as an external information the í letter is the following identifier:
(button) (code) (name) Í E2 VK_OEM_102
I already tried every method I just knew, autoit just don't accept any form of í letter as a hotkey.
Attachments (0)
Change History (23)
comment:1 by , 12 years ago
| Version: | → Other |
|---|
comment:2 by , 12 years ago
| Type: | Bug → Feature Request |
|---|
As it is not described in the doc. It is not a bug but a feature request.
Can you tell us which other key ciuld be needed for an hungarian keyboard?
Thanks
comment:4 by , 12 years ago
The Í letter. I thought it's a bug, since the HotKeySet should capture any letter, isn't it?
comment:5 by , 12 years ago
If this letter need to be with VK_OEM_102, that is a reason that is not a bug as as special {VK_OEM_102} must be added
Did you try "+<"?
comment:6 by , 12 years ago
Oh, okay, now I understand :)
Now, I haven't tried it before, but I tried it now :) It still does nothing.
comment:7 by , 12 years ago
So the support of {VK_OEM_102} is needed for hungarian keyboard.
is "<" capturing on the lowercase of the key?
Perhaps you can test if there is not another key which cannot capture on your keyboard.
Thanks for helping to find a complete solution for your keyboard.
comment:8 by , 12 years ago
< captures nothing :) It doesn't even capture if I press AltGr + í (since that's how I can send < from Hungarian keyboard.
comment:9 by , 12 years ago
Did you try ?
HotKeySet("{ASC 0237}", "Hey")
HotKeySet("{ASC 0205}", "Hey")
comment:10 by , 12 years ago
HotKeyRegister and Accelerators fail to registered hotkey if defaul language for application not english.
bug fixed if change Layout to english before call hotkeyset.
example:
_WinAPI_LoadKeyboardLayoutEx(0x0409) ;english layout
HotKeySet("^+з", "_Quit") ;russian key
comment:11 by , 12 years ago
I've got no idea why, but if I use theese:
HotKeySet("{ASC 0237}", "Hey")
HotKeySet("{ASC 0205}", "Hey")
The hotkey activates on pressing Shift + a.
Anyways here's an interesting thing:
http://s29.postimg.org/gv0hkm7xj/Untitledccccc.png
(After correcting the function name, it still doesn't work)
Just as an extra information:
I'm using an English languaged OS, but with Hungarian keyboard layout and timezone.
comment:12 by , 12 years ago
I am confused about the shift + a. I need a picture of your keyboard and the script you used.
At least as the {OEM_102} seems needed I build A new AutoiT3.exe see
You need to use
HotKeySet("{OEM_102}", "Hey")
I hope that help
comment:13 by , 12 years ago
Now exactly, but my keyboard looks 99% similar to this:
The link you gave me tells me the following:
"Not Found
The requested URL /autoit3/devs/jpm/AutoIt3_OEM_102.exe was not found on this server.
Apache Server at www.autoitscript.com Port 80"
comment:14 by , 12 years ago
Ah, the URL was wrong :) I downloaded the following:
http://www.autoitscript.com/autoit3/devs/jpm/OEM_102/AutoIt3.exe
It works perfectly now!
comment:15 by , 12 years ago
Glad it is working, You need to wait Jon official fixing you can use this pre beta Autoit3.exe for the time being.
With the picture I can work to understand the Shift + a which look stange from my point of view
comment:16 by , 12 years ago
Have you got any idea when it'll be released? I'd like to compile an exe, but if I compile it, the old stub will be used. Would it be possible to compile me a pre-beta aut2exe?
comment:17 by , 12 years ago
Unc3nZureD, do you think, that aut2exe when compiled the script download autoit from internet? do not be so naive. temporarily replace your aoutoit.exe with that version.
follow-up: 19 comment:18 by , 12 years ago
I replaced it, but somehow if I compile the executable stilh has the bug. I thought that aut2exe uses a different executable (for example itself) and AutoIt3.exe is only used for starting with SCiTE.
I missed something it seems... I'm sure I replaced the original autoit3.exe, but if I compile it, the í letter is still buggy.
comment:19 by , 12 years ago
Replying to Unc3nZureD:
I replaced it, but somehow if I compile the executable stilh has the bug. I thought that aut2exe uses a different executable (for example itself) and AutoIt3.exe is only used for starting with SCiTE.
I missed something it seems... I'm sure I replaced the original autoit3.exe, but if I compile it, the í letter is still buggy.
I assume you change the beta or the release autoit3.exe but are you sure you compile with the version patched.
Normally aut2exe.exe is using this file to compile so it should not be a problem
You can display the @AutoItVersion to verify which version it is compiled with.
comment:20 by , 12 years ago
I confirm that the compiled version is not working. I really don't know why as autoit3.exe is supposed to be used ...
I will investigate not an easy task to debug the compiled version.
comment:21 by , 12 years ago
I got it autoit3.exe is not use but included.
So go to the download dir.
You will find the aut2exe.exe and the aut2exe_x64.exe for {OEM_102}
comment:23 by , 12 years ago
| Milestone: | → 3.3.13.2 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [10297] in version: 3.3.13.2

Automatic ticket cleanup.