depois ele teste a cor no momento com a cor adicionada antes e se forem diferentes ele usa uma hotkey.
Tudo isso com um checkbox para ele funcionar quando eu achar necessário, e ao ligar que ele se mantenha checando constantemente
ex:
Code: Select all
;----------------------------------------------------
Gui, Add, Hotkey, x20 y130 h20 w50 vvariablel30
gui, add, button, x120 y125 h30 w70 gMCF, Button1
Gui Add, Checkbox, x200 y125 w100 h40 vMCFon gMCFo, % "On/Off"
;Exit
gui, add, button, x190 y330 h30 w80 gexit, Exit Script
;----------------------------------------------------
;----------------------------------------------------
gui, show
return
;----------------------------------------------------
MCF:
Gui Submit, NoHide
{
MsgBox ,48 , , Selecione a Posição da sua Life, 10
KeyWait, LButton, D
MouseGetPos, PHeal3X, PHeal3Y
PixelGetColor, colorhp3, %PHeal3X%, %PHeal3Y%
MsgBox Posição %PHeal3X%, %PHeal3Y%.
}
return
#if (MCFon)
{
PixelGetColor, colorhp03, %PHeal3X%, %PHeal3Y%
if (colorhp3 != colorhp03)
{
Send {%variablel30%}
return
}
}
#if
Return
MCFo:
Gui Submit, NoHide
if (MCFon)
{
MsgBox ,48 , , Ativado!, 10.
}
else
{
SetTimer, , Off
MsgBox ,48 , , Desativado!, 10.
}
Return
;----------------------------------------------------
guiclose:
exit:
{
exitapp
}
return
Alguém com uma opinião por fora pra dar uma forcinha?