Answer the question
In order to leave comments, you need to log in
How to make the script work correctly when changing the language?
Code that should work correctly:
q::5 ; In English. layout
th::6 ; In Russian layout
PS: I tried to change the language in the script window using the function in the manual:
#z:: ; Win+Z key combination.
ListLines ; This command opens the working window of the script.
WinWaitActive ahk_class AutoHotkey
Sleep, 100
Send {LAlt Down}{Shift}{LAlt Up} ; Actually changing the layout.
Sleep, 100
WinMinimize ; This command minimizes the currently active window.
Return
And also manually. Did not help(
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question