按键精灵多开游戏,同时支持的代码

2024-12-04 14:56:31
推荐回答(1个)
回答1:

游戏句柄 = Plugin.Window.SearchEx(0,"剑侠情缘3",0)
句柄 = Split(游戏句柄, "|")
Rem 开始
For i=0 to UBound(句柄)-1
Delay 100
Call Plugin.Bkgnd.KeyPress(句柄(i), 49)
Delay 100
Call Plugin.Bkgnd.KeyPress(句柄(i), 9)
Delay 100
Call Plugin.Bkgnd.KeyPress(句柄(i), 68)
Delay 100
Next
Goto 开始