; 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