스크립트는 AutoHotkey 라는 프로그램에서 동작하는 것입니다. 다중 클라이언트를 띄우는 분들은 한개 클라이언트만 선택적으로 로그아웃 방지가 될겁니다. AutoHotkey의 HWND PostMessage 를 어떻게 보내야할지 잘 모르겠더군요. 문서도 해당 부분이 좀 부실하고...

 엄밀하게 말하자면 WOW 외부 프로그램을 이용해서 게임상에서 의도하는 동작을 바꾸기 때문에 게임사가 만들어둔 약관에 위배되는 스크립트입니다. 충분히 주지하시고 사용하세요.
※ 그래도 꼭 써야할 분들은 있겠죠... ^^;;


; AutoHotkey Script
; WOW Logout Prevention Script v0.1

#z::
Run http://wow.inven.co.kr

WOWLogoutPrevention=0
+^!p::
If (WOWLogoutPrevention==0) {
 SetTimer,WOWLogoutPreventionActionType2,3000
 WOWLogoutPrevention=1
} else {
 SetTimer,WOWLogoutPreventionActionType2,Off
 MsgBox,WOW Logout Prevention
 WOWLogoutPrevention=0
}
return

WOWLogoutPreventionActionType1:
SetTitleMatchMode,1
If WinExist("월드 오브 워크래프트")
{
 WinActivate
 SendInput {Enter}
 Send /g WOW Logout Prevention
 SendInput {Enter}
}
else
{
 MsgBox, WOW Client is not running.
}
return

WOWLogoutPreventionActionType2:
SetTitleMatchMode,1
If WinExist("월드 오브 워크래프트")
{
 WinActivate

 SendInput {Space}
}
else
{
 MsgBox, WOW Client is not running.
}
return



 

크리에이티브 커먼즈 라이선스
Creative Commons License

설정

트랙백

댓글