|
马上加入TC
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
int hwnd
int 窗口绑定
int ret,x,y
system.setcurrentpath(help.getrcpath("rc:"))
hwnd = dm.FindWindow("","轩辕传奇")
//help.sleep(500)
//dm.SetWindowState(hwnd,12)
help.sleep(500)
窗口绑定= dm.BindWindow(hwnd,"dx","dx","dx",0)
help.sleep(1500)
if(窗口绑定<0)
help.messagebox("绑定失败")
endif
dm.FindPic(0,0,2000,2000,"寻路.bmp","000000",0.9,0,x,y)
if(x>0)
dm.MoveTo(x,y)
endif
help.sleep(500)
dm.LeftClick()
dm.UnBindWindow()
这是一个后台绑定 我做测试用的,,,之前测试的 按键啊。鼠标啊..找色 都好用,,怎么一到找图 运行之后就 游戏崩溃了呢。。。。。
|
|