按鍵精靈 按鍵 抓座標 - Yahoo!奇摩知識+

按鍵精靈 按鍵 抓座標 - Yahoo!奇摩知識+

瀏覽:992
日期:2024-09-28
提供按鍵精靈7.20版,範例腳本參考: Rem 開始 myKey = 0 WaitKey myKey // 按下M鍵,抓取目前的滑鼠座標、及顏色值 If myKey=77 VBSCall GetCursorPos(x,y) VBSCall GetColor=GetPixelColor(x,y) myMsg = "滑鼠座標:" & x & "," & y & vbLf & "該點 ......看更多