按键精灵大漠插件 后台测试找图找色问题
发布网友
发布时间:2022-04-27 06:20
我来回答
共2个回答
热心网友
时间:2022-06-27 14:11
Plugin.RegDll.Reg "C:\path\dm.dll"
set dm = createobject("dm.dmsoft")
dm_ret = dm.SetPath("C:\path")
hwnd = dm.GetMousePointWindow()
dm.DmGuard HW1, "np"
TracePrint HW1
dm_ret = dm.BindWindow(HW1, "dx2", "windows", "windows", 101)
If dm_ret = 1 Then
TracePrint "绑定成功"
Else
TracePrint "绑定失败"
End If
dm_ret = dm.Capture(0,0,200,200,"screen.bmp")
热心网友
时间:2022-06-27 14:11
我看你的 好像是前台额 , "normal", "windows", "windows" 试下看看