Hwnd = Plugin.Window.Foreground() Rem a Call Plugin.Bkgnd.KeyDown(Hwnd, 17) Call Plugin.Bkgnd.KeyDown(Hwnd, 76) Delay 100 Call Plugin.Bkgnd.Keyup(Hwnd, 76) Call Plugin.Bkgnd.Keyup(Hwnd, 17) Delay 3000 Goto a 如果是游戏的话 这个很可能不会成功。网友的话用大漠插件 如下(前提你先注册好大漠插件) hwnd = dm.getmousepointwindow() Rem a dm.KeyDown(Hwnd, 17) dm.KeyDown(Hwnd, 76) Delay 100 dm.Keyup(Hwnd, 76) dm.Keyup(Hwnd, 17) Delay 3000 Goto a