ColorDiff这样使用有没有问题
答案:1 悬赏:50 手机版
解决时间 2021-01-20 04:04
- 提问者网友:ミ烙印ゝ
- 2021-01-19 22:54
ColorDiff这样使用有没有问题
最佳答案
- 五星知识达人网友:野慌
- 2021-01-20 00:06
dim a,b,i
a=0
b=0
i=0
do while(1)
do while i<5
KeepCapture
if ColorDiff(GetPixelColor(213,694),"0x550560")=0 then
a=a+1
end if
if ColorDiff(GetPixelColor(490,708),"0x49535E")=0 then
b=b+1
end if
ReleaseCapture
Delay(1000)
i=i+1
loop
f=a*b
ShowMessage "5秒f判断值"&f, 1000
a=0
b=0
i=0
do while(1)
do while i<5
KeepCapture
if ColorDiff(GetPixelColor(213,694),"0x550560")=0 then
a=a+1
end if
if ColorDiff(GetPixelColor(490,708),"0x49535E")=0 then
b=b+1
end if
ReleaseCapture
Delay(1000)
i=i+1
loop
f=a*b
ShowMessage "5秒f判断值"&f, 1000
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯