Modify

#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 TicketCleanup, on Mar 18, 2014 at 9:00:01 AM

Version: Other

Automatic ticket cleanup.

comment:2 by J-Paul Mesnage, on Mar 18, 2014 at 5:34:19 PM

Type: BugFeature 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:3 by TicketCleanup, on Mar 18, 2014 at 6:00:01 PM

Version: Other

Automatic ticket cleanup.

comment:4 by anonymous, on Mar 19, 2014 at 10:23:36 PM

The Í letter. I thought it's a bug, since the HotKeySet should capture any letter, isn't it?

comment:5 by J-Paul Mesnage, on Mar 20, 2014 at 6:48:33 AM

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 anonymous, on Mar 20, 2014 at 9:48:45 PM

Oh, okay, now I understand :)
Now, I haven't tried it before, but I tried it now :) It still does nothing.

comment:7 by J-Paul Mesnage, on Mar 21, 2014 at 8:22:43 AM

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 Unc3nZureD, on Mar 21, 2014 at 4:22:42 PM

< captures nothing :) It doesn't even capture if I press AltGr + í (since that's how I can send < from Hungarian keyboard.

comment:9 by J-Paul Mesnage, on Mar 21, 2014 at 5:53:31 PM

Did you try ?
HotKeySet("{ASC 0237}", "Hey")
HotKeySet("{ASC 0205}", "Hey")

comment:10 by anonymous, on Mar 22, 2014 at 7:55:47 AM

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 Unc3nZureD, on Mar 22, 2014 at 10:39:05 AM

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 J-Paul Mesnage, on Mar 22, 2014 at 6:00:31 PM

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

AutoIt3-OEM_102

You need to use

HotKeySet("{OEM_102}", "Hey")

I hope that help

Last edited on Mar 29, 2014 at 12:15:03 PM by J-Paul Mesnage (previous) (diff)

comment:13 by Unc3nZureD, on Mar 22, 2014 at 10:14:54 PM

Now exactly, but my keyboard looks 99% similar to this:

http://i01.i.aliimg.com/wsphoto/v0/720088019/New-Laptop-keyboard-for-Asus-EeePC-Shell-1005HA-1008HA-1101HA-Black-Hungarian-HU-Version-V109762AK1.jpg

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 anonymous, on Mar 22, 2014 at 10:23:23 PM

Ah, the URL was wrong :) I downloaded the following:

http://www.autoitscript.com/autoit3/devs/jpm/OEM_102/AutoIt3.exe

It works perfectly now!

Last edited on Mar 30, 2014 at 11:47:47 AM by J-Paul Mesnage (previous) (diff)

comment:15 by J-Paul Mesnage, on Mar 23, 2014 at 6:37:07 AM

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 Unc3nZureD, on Mar 24, 2014 at 8:48:51 PM

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 anonymous, on Mar 26, 2014 at 10:43:05 AM

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.

comment:18 by Unc3nZureD, on Mar 28, 2014 at 10:52:40 AM

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.

in reply to:  18 comment:19 by J-Paul Mesnage, on Mar 28, 2014 at 4:34:31 PM

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 J-Paul Mesnage, on Mar 28, 2014 at 5:06:35 PM

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 J-Paul Mesnage, on Mar 28, 2014 at 5:25:45 PM

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}

Last edited on Mar 28, 2014 at 5:26:43 PM by J-Paul Mesnage (previous) (diff)

comment:22 by anonymous, on Mar 28, 2014 at 7:36:33 PM

Thanks, I found it and works perfectly now.

comment:23 by Jon, on Jul 10, 2014 at 8:28:16 PM

Milestone: 3.3.13.2
Owner: set to Jon
Resolution: Fixed
Status: newclosed

Fixed by revision [10297] in version: 3.3.13.2

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.