Thanks for the tips
Here is what I got from the log file:
Entered in 'Simulated Keys': Д{RIGHT}Ð
SendInput::SendKeyState: VKCode=0x0 Scan code=0x414 SendMode=0x4 Flags=0x0 Release=0:
SendInput::SendKeyState: VKCode=0x0 Scan code=0x414 SendMode=0x4 Flags=0x0 Release=1:
SendInput::SendKeyState: VKCode=0x27 Scan code=0x4d SendMode=0x8 Flags=0x0 Release=0:
SendInput::SendKeyState: VKCode=0x27 Scan code=0x4d SendMode=0x8 Flags=0x0 Release=1:
SendInput::SendKeyState: VKCode=0x0 Scan code=0x41d SendMode=0x4 Flags=0x0 Release=0:
SendInput::SendKeyState: VKCode=0x0 Scan code=0x41d SendMode=0x4 Flags=0x0 Release=1:
Where 0x414 and 0x41d are the scan codes for the Uppercase Cyrillic letters 'Д' and 'Ð' (respectively 0414 and 041D are their Unicode (hex) codes).
Entered in 'Simulated Keys': F{RIGHT}W
SendInput::SendKeyState: VKCode=0x46 Scan code=0x21 SendMode=0x8 Flags=0x0 Release=0:
SendInput::SendKeyState: VKCode=0x46 Scan code=0x21 SendMode=0x8 Flags=0x0 Release=1:
SendInput::SendKeyState: VKCode=0x27 Scan code=0x4d SendMode=0x8 Flags=0x0 Release=0:
SendInput::SendKeyState: VKCode=0x27 Scan code=0x4d SendMode=0x8 Flags=0x0 Release=1:
SendInput::SendKeyState: VKCode=0x57 Scan code=0x11 SendMode=0x8 Flags=0x0 Release=0:
SendInput::SendKeyState: VKCode=0x57 Scan code=0x11 SendMode=0x8 Flags=0x0 Release=1:
Where VKC=0x46 and SC=0x21 both refer to 'F' key, VKC=0x57 and SC=0x11 both refer to 'W' key and since there are no active modifier keys I get lowercase letters 'f' and 'w' when English
input is active. But when Bulgarian
input is active I get 'ф' and 'в' which respectively are the Cyrillic letters corresponding to 'f' and 'w' keys.
I suppose that the SendMode value determines which of the two methods has the higher priority and since in the first example there are no VKCodes for those letters it falls back to the Scan code method. However I'm a bit confused about the second example, whats the point in getting both the VKC and the SC for the same key. As there are different scan codes for each Uppercase and Lowercase Latin letter, I suppose that there is a way to get the scan code for the entered character instead of the key (which it already has the VKCode for). After that some method would be needed to determine which of the two values to be sent when executing. And here it gets complicated coz in case the both types are needed in a single 'Simulated Keys' command the only way I can think of doing it is via some kind of tag. Here are some examples:
{some tag}asdf{some tag} to send the Scan codes for those four characters instead of VKCodes
or maybe
{???:<string>}
I don't know if that's possible at all but I can't think of anything else
BTW I noticed that when I turn on Debug mode via Hotkey the pop-up notification says 'Debugging disabled' and when I turn it off it says 'Debugging enabled'
Greetings!
Iliya