求按键精灵后台运行脚本简单的

2024-11-27 07:32:01
推荐回答(2个)
回答1:

Hwnd = Plugin.Window.MousePoint()
Rem a
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 1500
Call Plugin.Bkgnd.KeyPress(Hwnd, 50)
Delay 1500
Call Plugin.Bkgnd.KeyPress(Hwnd, 51)
Delay 1500
Goto a
先把鼠标移动到需要运行脚本的窗口上,再启动脚本

回答2:

aiyowei_2 | 七级
Hwnd = Plugin.Window.MousePoint()
Rem a
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 1500
Call Plugin.Bkgnd.KeyPress(Hwnd, 50)
Delay 1500
Call Plugin.Bkgnd.KeyPress(Hwnd, 51)
Delay 1500
Goto a
先把鼠标移动到需要运行脚本的窗口上,再启动脚本