MacScript Posted July 13, 2014 Posted July 13, 2014 Hi - I am trying to determine if there is a way programmatically to get the IME mode that your active window is using.. To explain this a little bit more here goes-> For text services and Input Language for my windows 7 computer I have Korean language and Korean Microsoft IME added. I use Korean Microsoft IME. The IME allows me to either type in English letters like --> abcdefg or in Hanja like this ---> 안녕, The method for switching between Han/Eng is by pressing the Right Alt key (which is hotkey builtin to windows for this function). Using the command GetActiveKeyboardLayout($hWnd) I can get the Language (which for Korean is 412). I need to figure out how to get the IME Mode (Is the application window setup to type in English(abcd) or Hanja (안녕)? I need Autoit to send keystrokes, but need to first determine what mode it is in so that it is sending the correct keystrokes. I have googled this bug have not been able to come up with a solution.. Help would be greately appreciated with this .. Thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now