Modify

Opened 11 years ago

Closed 10 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 Changed 11 years ago by TicketCleanup

  • Version set to Other

Automatic ticket cleanup.

comment:2 Changed 11 years ago by Jpm

  • Type changed from Bug to 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:3 Changed 11 years ago by TicketCleanup

  • Version Other deleted

Automatic ticket cleanup.

comment:4 Changed 11 years ago by anonymous

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

comment:5 Changed 11 years ago by Jpm

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 Changed 11 years ago by anonymous

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

comment:7 Changed 11 years ago by Jpm

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 Changed 11 years ago by Unc3nZureD

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

comment:9 Changed 11 years ago by Jpm

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

comment:10 Changed 11 years ago by anonymous

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 Changed 11 years ago by Unc3nZureD

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 Changed 11 years ago by Jpm

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 11 years ago by Jpm (previous) (diff)

comment:13 Changed 11 years ago by Unc3nZureD

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 Changed 11 years ago by anonymous

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 11 years ago by Jpm (previous) (diff)

comment:15 Changed 11 years ago by Jpm

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 Changed 11 years ago by Unc3nZureD

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 Changed 11 years ago by anonymous

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 follow-up: Changed 11 years ago by 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.

comment:19 in reply to: ↑ 18 Changed 11 years ago by Jpm

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 Changed 11 years ago by Jpm

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 Changed 11 years ago by Jpm

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 11 years ago by Jpm (previous) (diff)

comment:22 Changed 11 years ago by anonymous

Thanks, I found it and works perfectly now.

comment:23 Changed 10 years ago by Jon

  • Milestone set to 3.3.13.2
  • Owner set to Jon
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [10297] in version: 3.3.13.2

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.