Hwnd = Plugin.Window.MousePoint()GetColor = Plugin.Bkgnd.GetPixelColor(Hwnd, 1170, 236)If GetColor = "6A6A6A" Then KeyPress "1", 1End If 如果脚本错误了,是坐标的问题。