找字

.版本 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)

posted on 2015-01-24 15:02  金真  阅读(3669)  评论(0编辑  收藏  举报