按键精灵9这个前台脚本怎么改成后台的?

IfColor 1170,236,"6A6A6A",0 ThenKeyPress "1", 1ElseEnd If
2024-11-20 11:46:29
推荐回答(1个)
回答1:

Hwnd = Plugin.Window.MousePoint()
GetColor = Plugin.Bkgnd.GetPixelColor(Hwnd, 1170, 236)
If GetColor = "6A6A6A" Then
KeyPress "1", 1
End If

如果脚本错误了,是坐标的问题。