Hwnd = Plugin.Window.Foreground() Rem 启动 Key=WaitKey() //脚本运行到这一行会暂停,当用户按下键盘后继续执行,并且把用户的按键码保存在变量Key里 If Key = 83 Then Delay 500 Call Plugin.Bkgnd.KeyPress(Hwnd, 68) Goto 启动 End If
If Key=83 Then Delay 500 Call Plugin.Bkgnd.KeyPress(Hwnd, 70) Goto 启动 End If
If Key=83 Then Delay 500 Call Plugin.Bkgnd.KeyPress(Hwnd, 71) Goto 启动 End If If Key=83 Then Delay 500 Call Plugin.Bkgnd.KeyPress(Hwnd,87) Goto 启动 End If If Key=83 Then Delay 500 Call Plugin.Bkgnd.KeyPress(Hwnd, 69) Goto 启动 End If If Key=83 Then Delay 500 Call Plugin.Bkgnd.KeyPress(Hwnd, 82) Goto 启动 End If 直接复制 使用 当你按S时 同时按下DFGWER