Set KBD layout to AHK window. bug?

Report problems with documented functionality
leechunsonnn
Posts: 1
Joined: 24 Oct 2018, 04:02

Set KBD layout to AHK window. bug?

24 Oct 2018, 04:08

Hello!

I've been trying for the past few days to find a way to set the keyboard layout to my own AHK window, but without luck. I've even compiled a small script that does simply [on e.g. F1]:

PostMessage, 0x50, 0, 0x40A0409,, A

It works with all the apps I tested but not with AHK windows, any... whatsoever. Is this a bug? Or... am I missing something?

Thank you. I will soon test the new AHK versions with fixes regarding dead keys.

Cristiano
YMP2
Posts: 48
Joined: 20 Apr 2014, 06:55

Re: Set KBD layout to AHK window. bug?

24 Oct 2018, 23:46

Try if this works for you:

Code: Select all

F1::
    WinExist("A")
    ControlGetFocus, CtrlFocus
    PostMessage, 0x50, 0, 0x40A0409, %CtrlFocus%
    Return

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 16 guests