다른 명령
Autoit 한글키 영문키 체크
#include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <winapi.au3> #Include <misc.au3> Global $rr While 1 sleep(10) ; Mouse position Tracker $mousexy = MouseGetPos() $x = $mousexy[0] $y = $mousexy[1] _Get_Hangul() ; 한영키 상태를 불러들임 ToolTip($rr,$x+5 ,$y+10) ; 툴팁으로 한영키 상태표시 WEnd Func _Get_Hangul() $h = WinGetHandle (WinGetTitle("[ACTIVE]")) $r = DllCall("imm32.dll","uint","ImmGetDefaultIMEWnd","uint",$h) $rr = _SendMessage($r[0],0x283,0x005,0) If $rr = 1 Then $rr="H" ElseIf $rr = 0 Then $rr="E" EndIf EndFunc
[출처] 오랜만에 뵙습니다 ^^ 마우스따라댕기는 한영키상태툴팁~!! (Autoit 강좌 | AutoitScript 강좌) | 작성자 살리에로