找字
.版本 2
.支持库 dm
dm.SetPath ()
dm.SetDict (0, “字库.txt”)
hwnd = dm.GetMousePointWindow ()
dm.BindWindow (hwnd, “normal”, “normal”, “normal”, 0)
返回文本 = dm.Ocr (0, 0, 1280, 1024, “000000-000000”, 1)
dm.UnBindWindow ()
找图
dm.SetPath ()
dm.FindPicE (0, 0, 1280, 1024, “临时.bmp”, “000000”, 1, 0)
时间: 2024-10-10 07:43:42