Switching global keyboard layout Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
AndrewKun
Posts: 24
Joined: 03 Jun 2015, 12:03

Switching global keyboard layout

11 Jan 2017, 05:59

Hi,

I've been searching all over the forums and Google to find a way to switch keyboard layout (which is normally done by Alt+shift in Windows) with AHK, but everywhere I can find only the one metod - using SendMessage/PostMessage to send a message to the active windows.

For example:

Code: Select all

SendMessage, 0x50,, 0x4190419,, A
But how can I change the layout globally for the whole system, without regarding to any window?

SendMessage/PostMessage doesn't work if all windows are minimized, for example.
User avatar
Capn Odin
Posts: 1352
Joined: 23 Feb 2016, 19:45
Location: Denmark
Contact:

Re: Switching global keyboard layout  Topic is solved

11 Jan 2017, 06:09

Try this, Default Keyboard Lang.

If you are having trouble with hidden windows try DetectHiddenWindows, On.
Please excuse my spelling I am dyslexic.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], MrHue, Rohwedder, Rxbie, songdg and 369 guests