该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
#IfWinActive ahk_class LaunchUnrealUWindowsClient
F1::
MouseGetPos, mouseX, mouseY
PixelGetColor, color, %mouseX%, %mouseY%, RGB
StringRight color,color,10 ;
tooltip, %mouseX%,%mouseY%颜色是:%color%
return
XButton1::
Loop
{
GetKeyState,State,XButton1,P
If (State="U") ;
{
Break
}if (GetColor(1161,632)=="0xEDBBAD" ) ;
{
send {f down}
sleep 400
send {f up}
}
else
if ( GetColor(984,956)=="0x3C17E7" ) ; 月涌
{
send c
}
if ( GetColor(1036,971)=="0xFF5923" ) ; 斩击
{
send v
}
if ( GetColor(1164,887)=="0x393939" ) ; 灰色右键
{
send r
}
if ( GetColor(1070,672)=="0x482890" ) ; 冥炎破
{
send 4
}
{
send f
}
{
send t
}
}
return
;
GetColor(x,y)
{
PixelGetColor, color, x, y, RGB
StringRight color,color,10 ;
return color
}
XButton2::
SetTimer, press1, 0
press1:
{
send 333
}
{
send f
}
Return
XButton2 up::
SetTimer, press1, Off
Return
EmptyMem(PID="Client or AHK Rocks"){
pid:=(pid="Client or AHK Rocks") ? DllCall("GetCurrentProcessId") : pid
h:=DllCall("OpenProcess", "UInt", 0x001F0FFF, "Int", 0, "Int", pid)
DllCall("SetProcessWorkingSetSize", "UInt", h, "Int", -1, "Int", -1)
DllCall("CloseHandle", "Int", h)
}
Return