Thursday, October 28, 2010

64비트 어플리케이션

putty - 소스받아서 컴파일 putty 0.60
ccleaner - 3.0 부터 x64 지원

AutoHot Key 한영 전환

  1. vi를 위해서 ESC누르면 영문 전환
  2. ㅈㅈㅈ. 을 www. 으로 변환하고 영문으로 전환

~Escape::
If IMECheck()
Send, {Vk115Sc138}
Return

:*b0:www.::
SetKeyDelay, -1
If IMECheck()
Send, {Backspace 4}{Vk115Sc138}www.
Return

IMECheck(hWnd = "")
{
IfEqual, hWnd,, WinGet, hWnd, ID, A
DefaultIMEWnd := DllCall("imm32\ImmGetDefaultIMEWnd", "UInt", hWnd)
DetectSaved = %A_DetectHiddenWindows%
DetectHiddenWindows, On
SendMessage, 0x283, 5, 0,, ahk_id %DefaultIMEWnd%
IfNotEqual, A_DetectHiddenWindows, %DetectSaved%, DetectHiddenWindows, %DetectSaved%
Return ErrorLevel
}