Page 1 of 1

Set KBD layout to AHK window. bug?

Posted: 16 Jan 2018, 14:52
by robodesign
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.

Best regards, Marius.

Re: Set KBD layout to AHK window. bug?

Posted: 16 Jan 2018, 16:12
by jeeswg
So you can't get one script to set the keyboard layout for another script, by sending a message to the AutoHotkey main window (or one of its controls)?

Re: Set KBD layout to AHK window. bug?

Posted: 16 Jan 2018, 16:25
by robodesign
Yes, that is correct. Is it just me or... what? I am on Win10, but tested this on Win 7 as well, in virtual box.