I am using this code in LuaMacros program in order to simulate the "q" key press. I need it to always type the english character, even if my secondary keyboard language is selected.
lmc_send_input(81,0,4)
lmc_send_input(81,0,6)
It really prints ";" instead of "q" when greek language is selected, which is something that happens when you also type with physical keyboard.
- I need to use latin characters only . Is it possible?
- Or else is it possible for me to detect the current selected keyboard language and then change it on keypress?
- Is it possible to use C++ inside lua?
I could use something like
string lang = InputLanguage.CurrentInputLanguage.Culture.Name;
or
string StrCurrentLang = InputLanguage.CurrentInputLanguage.Culture.TwoLetterISOLanguageName;
so that I could check which is the user language and then change it. You can find more here:
https://stackoverflow.com/questions/277 ... e-computer
Is this possible? Can you please provide a workaround on this?