屏幕找字

admin2021-10-26  144

import mouse;
import string.ocrLite;
import string.ocrLite.defaultModels;

var ocr = string.ocrLite();
var ocrResult = ocr.detectScreen();
var x,y = ocrResult.findPoint("要查找的按钮文本",0.1);
mouse.moveTo(x,y,true);
转载请注明原文地址: http://www.aardio.net/read-233.html
最新回复(0)
aardio问答
aardio编程语言