[AHK-] 当某点出现指定颜色时做相应动作

楼主: ff760725 (㊣矮㊣肥㊣丑㊣穷㊣宅)   2015-08-11 12:13:36
不知道为啥无法Loop,只有在Reload之后才会做动作...
Loop
{
PixelGetColor, Reload1 , 1082,182
PixelGetColor, Reload2 , 1105,207
PixelGetColor, Reload3 , 845,409
PixelGetColor, Reload4 , 940,818
PixelGetColor, Reload5 , 1388,273
if ( Reload1 = "0XB17F3C")
{
MouseMove, 1082,182
MouseClick
Sleep 500
}
if( Reload2 = "0XD8D8D8")
{
MouseMove, 1105,207
MouseClick
Sleep 500
}
if( Reload3 = "0XDADADA")
{
MouseMove, 845,409
MouseClick
Sleep 500
}
if( Reload4 = "0XD2D2D3")
{
MouseMove, 940,818
MouseClick
Sleep 500
}
if( Reload5 = "0XDF95FF")
{
MouseMove, 832, 525
MouseClick
Sleep 500
}
}
作者: notlo (notlo)   2015-08-23 17:41:00
是不是你只loop一次而己?

Links booklink

Contact Us: admin [ a t ] ucptt.com