04-08-2019, 11:16 AM
Function GetInputLanguage
Function SetInputLanguage
test
Macro Macro367
Function SetInputLanguage
test
Macro Macro367
;swaps input languages of Notepad and WordPad
int w1=win("*Untitled - Notepad" "Notepad")
int w2=win("Document - WordPad" "WordPadClass")
int lang1=GetInputLanguage(w1)
int lang2=GetInputLanguage(w2)
out "0x%X" lang1
out "0x%X" lang2
SetInputLanguage w1 lang2
SetInputLanguage w2 lang1