I am using ImageSearch to detect the typing mode for Hangul or English.
Please look at the image below for the problem description. Hope someone can help me out!
ImageSearch problem with IME
ImageSearch problem with IME
- Attachments
-
- IME.PNG (66.06 KiB) Viewed 788 times
Re: ImageSearch problem with IME
How can I check if IME is disabled or not with autohotkey?
Re: ImageSearch problem with IME
Could you not check the current input language ?
https://autohotkey.com/board/topic/1165 ... ntry672236
https://autohotkey.com/board/topic/1165 ... ntry672236
Re: ImageSearch problem with IME
I think you misunderstood me a bit. In may case, the language is already in Korean Microsoft IME. However, in Korean mode, there is an ALT buttion to toggle between Korean and English. I want to know whether it is in Korean or English mode for this specific case.trust_me wrote:Could you not check the current input language ?
https://autohotkey.com/board/topic/1165 ... ntry672236
Re: ImageSearch problem with IME
I used this code and it returns a code for Korean language. However, even in Korean language mode, there is still an option to toggle between Korean and English by toggling the right ALT buttion.
Is there any way to check the status A or 가 in Korean language?
Is there any way to check the status A or 가 in Korean language?
Code: Select all
F11::
SetFormat, Integer, H
WinGet, WinID,, A
ThreadID:=DllCall("GetWindowThreadProcessId", "UInt", WinID, "UInt", 0)
InputLocaleID:=DllCall("GetKeyboardLayout", "UInt", ThreadID, "UInt")
MsgBox, %InputLocaleID%
Return
Who is online
Users browsing this forum: yabab33299 and 120 guests