Forum Discussion
HKosova
13 years agoSmartBear Alumni (Retired)
Hi,
You can use named constants from the Win32API object instead of hard-coded values:
Virtual Key codes are changing with the different system configurations.
You can use named constants from the Win32API object instead of hard-coded values:
Note: You may need to use VK_HANGUL or VK_KANA instead of VK_RMENU; Unfortunately I don't have the Korean input language to test them, so please check this yourself.
Similary provide us the code for selecting the combination of Right Alt and Right Shift and Shift + Space
For Shift+Space, use:
For Right Alt + Right Shift, try one of the following:")
Call Sys.Keys("[Hold][X" & Win32API.VK_RMENU & "][X" & Win32API.VK_RSHIFT & "][Release]")
Alternatively, you can activate the Korean input language programmatically using the aqEnvironment.SetKeyboardLayout method:
The benefit of using the SetKeyboardLayout method is that it works regardless of the keyboard shortcut used to switch between the input languages (Alt+Shift, Ctrl+Shift and so on).
Please let me know how all this works for you.
Related Content
Recent Discussions
- 3 hours agoSvetaG