首先你要注册码大漠插件然后再进行代码编写如下大漠命令//创建大漠对象Set dm = createobject("dm.dmsoft")//大漠找图 返回变量X,Y dm_ret = dm0.FindPic(442, 253, 504, 318, "C:\啤酒.bmp", "000000", 0.9, 0, X, Y)//大漠按键 A键 dm.KeyPress 65