写了一个简单的脚本用于游戏,无非就是点击,按键
键盘按键有效,但鼠标点击无效,麻烦看看问题出在哪里?
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