Цитата:
Сообщение от pierrotm777
It's automatic . We can't do that because the the key board is defined outside icards.
|
It is possible through
AHK (and attach to the button) (
RUS/ENG):
Код:
SetFormat, Integer, H
Locale1=0x4090409 ; Английский (американский).
Locale2=0x4190419 ; Русский.
WinGet, WinID,, A
ThreadID:=DllCall("GetWindowThreadProcessId", "Int", WinID, "Int", "0")
InputLocaleID:=DllCall("GetKeyboardLayout", "Int", ThreadID)
if(InputLocaleID=Locale1)
SendMessage, 0x50,, % Locale2,, A
else if(InputLocaleID=Locale2)
SendMessage, 0x50,, % Locale1,, A
Exit
or Autoit :
https://www.autoitscript.com/autoit3...oardLayout.htm