'定义X和y坐标
dim intX as integer, intY as integer
'找指定的色 " " 内用大漠综合工具抓色 具体参考大漠文档说明
if FindColor(138,55,1329,555,"b7c738-000000",1.0,0,intX,intY)=1 then
'如果能抓到色
'按一次空格键
KeyPress("space",1)
else
'获取不到按一次退格键
KeyPress("backsoace",1)
end if
dim intX as integer, intY as integer
'找指定的色 " " 内用大漠综合工具抓色 具体参考大漠文档说明
if FindColor(138,55,1329,555,"b7c738-000000",1.0,0,intX,intY)=1 then
'如果能抓到色
'按一次空格键
KeyPress("space",1)
else
'获取不到按一次退格键
KeyPress("backsoace",1)
end if