怎么才能让按键精灵9在最小化游戏后还能运行?求大神编个代码

我的游戏要一直挂机 具体的要每7秒一次按F键和每30秒一次按R键 无限循环 求大神给编个代码 在线等啊 急用!!!!!!

7秒F和30秒R逐步执行代码如下:
Dim hwndhwnd=Plugin.Window.MousePoint()
Do
Delay 4200
call Plugin.Bkgnd.KeyPress(hwnd,70)
Delay 18000
call Plugin.Bkgnd.KeyPress(hwnd,82)
Loop

7秒F和30秒R同时执行代码如下:
Dim hwndhwnd=Plugin.Window.MousePoint()
Do
Delay 4200
call Plugin.Bkgnd.KeyPress(hwnd,70)
Delay 13800
call Plugin.Bkgnd.KeyPress(hwnd,82)
Loop

启动脚本的时候,用鼠标停在游戏窗口上。追问

运行错误

追答

7秒F和30秒R逐步执行代码如下:
Dim hwnd
hwnd=Plugin.Window.MousePoint()
Do
Delay 4200
Call Plugin.Bkgnd.KeyPress(hwnd,70)
Delay 18000
Call Plugin.Bkgnd.KeyPress(hwnd,82)
Loop

7秒F和30秒R同时执行代码如下:
Dim hwnd
hwnd=Plugin.Window.MousePoint()
Do
Delay 4200
Call Plugin.Bkgnd.KeyPress(hwnd,70)
Delay 13800
Call Plugin.Bkgnd.KeyPress(hwnd,82)
Loop

启动脚本的时候,用鼠标停在游戏窗口上。

追问

好像还是运行错误

温馨提示:答案为网友推荐,仅供参考
第1个回答  2013-02-11
“失落的水花”的答题代码好像是VB命令,应用于Windows。你试试。
相似回答
大家正在搜