我想用後台自動點擊我要的座標
不過都沒反應 不知道哪邊錯了...
Hwnd = 60621460
PixelColor = Plugin.Bkgnd.GetPixelColor(Hwnd, 1630, 902)
If PixelColor = "687881" Then
Call Plugin.Bkgnd.MoveTo(Hwnd, 1630, 902)
Call Plugin.Bkgnd.LeftClick(Hwnd, 1630, 902)
Delay 1000
Call Plugin.Bkgnd.MoveTo(Hwnd, 1226, 878)
Call Plugin.Bkgnd.LeftClick(Hwnd, 1226, 878)
Delay 1000
Call Plugin.Bkgnd.MoveTo(Hwnd, 1296, 874)
Call Plugin.Bkgnd.LeftClick(Hwnd, 1296, 874)
Delay 1000
Else
Call Plugin.Bkgnd.KeyPress(Esc)
Delay 2000
Call Plugin.Bkgnd.KeyPress(Esc)
Delay 2000
End If