[請問] 按鍵精靈 後台..
我想用後台自動點擊我要的座標
不過都沒反應 不知道哪邊錯了...
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
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.46.224.109
※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1446615756.A.2B1.html
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
EzHotKey 近期熱門文章
PTT數位生活區 即時熱門文章