#IfWinActive ahk_class LaunchUnrealUWindowsClient
F1::
MouseGetPos, mouseX, mouseY
PixelGetColor, color, %mouseX%, %mouseY%, RGB
StringRight color,color,10 ;
tooltip, %mouseX%,%mouseY%颜色是:%color%
return
XButton1::
Loop
{
if ( GetColor(687,764)=="0xFACA75" ) ;
{
send {tab}
}
else
{
if ( GetColor(753,625)=="0x00B8FE" ) ;
{
if ( GetColor(687,764)=="0xFACA75" ) ;
{
send {tab}
}
else
{
send t
sleep 120
}
}
else
{
if ( GetColor(687,764)=="0xFACA75" ) ;
{
send {tab}
}
else
{
if ( GetColor(743,827)=="0x767070" ) ;
{
send z
}
send r
}
}
}
}Until Not getkeystate("XButton1","P")
Return
GetColor(x,y)
{
PixelGetColor, color, x, y, RGB
StringRight color,color,10 ;
return color
}
#MaxHotkeysPerInterval 1000