代码如下:Dim hwndhwnd=Plugin.Window.MousePoint()DoDelay 5000call Plugin.Bkgnd.KeyPress(hwnd,49) Loop 鼠标停在指定窗口后,F10运行代码,望采纳!