按键精灵设置循环我想设置每5分钟按一次F10,无限循环

如题所述

Rem s
KeyPress 49,1
KeyPress 50,1
KeyPress 50,1
Delay 2000
Goto s
前台脚本
下面是后台的
//下面这句是得到当前最前面的窗口句柄
Plugin Hwnd = Window.Foreground()
Rem s
Plugin Bkgnd.KeyPress(Hwnd, 49)
Plugin Bkgnd.KeyPress(Hwnd, 50)
Plugin Bkgnd.KeyPress(Hwnd, 50)
Delay 2000
Goto s
都试试看 后台脚本要把鼠标放到游戏窗口里启动
温馨提示:答案为网友推荐,仅供参考
第1个回答  2010-10-30
Delay 1000
Rem s
KeyPress 121, 1
Delay 300000
Goto s