按键精灵后台程序鼠标点击命令无效
写了一个简单的脚本用于游戏,无非就是点击,按键键盘按键有效,但鼠标点击无效,麻烦看看问题出在哪里?Hwnd=Plugin.Window.MousePoint()RemaD...
写了一个简单的脚本用于游戏,无非就是点击,按键
键盘按键有效,但鼠标点击无效,麻烦看看问题出在哪里?
Hwnd = Plugin.Window.MousePoint()
Rem a
Delay 500
Call Plugin.Bkgnd.LeftClick(hwnd, 1174, 776)
Delay 500
Call Plugin.Bkgnd.LeftClick(hwnd, 1174,776)
Delay 1000
Plugin.Bkgnd.KeyPress hwnd,52
Delay 1800
Plugin.Bkgnd.KeyPress hwnd, 50
Delay 2500
Plugin.Bkgnd.KeyPress hwnd,52
Delay 1800
Plugin.Bkgnd.KeyPress hwnd, 50
Delay 2500
Plugin.Bkgnd.KeyPress hwnd,52
Delay 1800
Plugin.Bkgnd.KeyPress hwnd, 50
Delay 2500
Plugin.Bkgnd.KeyPress hwnd, 49
Delay 5000
Goto a 展开
键盘按键有效,但鼠标点击无效,麻烦看看问题出在哪里?
Hwnd = Plugin.Window.MousePoint()
Rem a
Delay 500
Call Plugin.Bkgnd.LeftClick(hwnd, 1174, 776)
Delay 500
Call Plugin.Bkgnd.LeftClick(hwnd, 1174,776)
Delay 1000
Plugin.Bkgnd.KeyPress hwnd,52
Delay 1800
Plugin.Bkgnd.KeyPress hwnd, 50
Delay 2500
Plugin.Bkgnd.KeyPress hwnd,52
Delay 1800
Plugin.Bkgnd.KeyPress hwnd, 50
Delay 2500
Plugin.Bkgnd.KeyPress hwnd,52
Delay 1800
Plugin.Bkgnd.KeyPress hwnd, 50
Delay 2500
Plugin.Bkgnd.KeyPress hwnd, 49
Delay 5000
Goto a 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |