|
//判断窗体是否存在
if(window.iswindow(qunHuiHuaHand))
int intX,intY,imgSeq
// 找到QQ会话里面的视频按钮
imgSeq=window.findpic(qunHuiHuaHand,0,0,WideStr,HighStr,"rc:视频图片.bmp",#101010,0.9,0,intX,intY)
if(intX>0 && intY>0)
//找到了,进来,写你的代码
else
//没找到,进来,写你的代码
endif
endif
至于你要的抓图,还是截图,表示不清楚。AA抓图?
//分辨率定义全局变量
int WideStr,HighStr //分辨率
//窗体初始化获得当前你的分辨率
HighStr=0,WideStr=0
find=system.getscreen(WideStr,HighStr)
|
|