按键精灵怎么设置后台运行,不停地按1.2.3,要不停地运行。切换成别的也要能一直运行,

2024-10-31 15:42:24
推荐回答(2个)
回答(1):

maozz | 四级

正解!

我完善下
Hwnd = Plugin.Window.MousePoint() //这里鼠标指向窗口
Do
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 50)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 51)
Delay 50
Loop

回答(2):

Hwnd = Plugin.Window.Foreground()
Do
Call Plugin.Bkgnd.KeyPress(Hwnd, 49)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 50)
Delay 50
Call Plugin.Bkgnd.KeyPress(Hwnd, 51)
Delay 50
Loop