Aafter reading the thread I created my codes for cycling through input languages.
Code: Select all
$AppsKey::
WinExist("A")
ControlGetFocus, CtrlInFocus
PostMessage, 0x50, 2,, %CtrlInFocus%
return
The code appears to be only effective for the current active application.
But my test shows that, the active input language is consistent for all the running applications (Win10). Yes, this is what I want (sheer luck?). How can I modify the code to cycling through input langages exactly for all the running applications, not just for the active application?
Q2:
The code above fails to work when certain application WITHOUT text input focus is active. How can it be fixed?
Thank you!