滑鼠按鍵腳本
① 按鍵精靈後台滑鼠移動和點擊腳本怎麼製作。
腳本如下Dim hwndPlugin hwnd=Window.MousePoint()Delay 1000Rem starPlugin BGKM5.MMove(hwnd,668,297)//移動左鍵到「軍事行動」Delay 400Plugin BGKM5.LClick(hwnd,668,297)//左鍵單擊「軍事行動」Delay 400Plugin BGKM5.MMove(hwnd,573,199)//移動左鍵到「第一艦隊」Delay 400Plugin BGKM5.LClick(hwnd,573,199)//左鍵單擊「第一艦隊」Delay 400Plugin BGKM5.MMove(hwnd,727,377)//移動左鍵到「急速」Delay 400Plugin BGKM5.LClick(hwnd,727,377)//左鍵單擊「急速「Delay 400Plugin BGKM5.MMove(hwnd, 808,405)//左鍵移動到「確定出擊」Delay 400Plugin BGKM5.LClick(hwnd,808,405)//左鍵單擊「確定出擊」Delay 400Plugin BGKM5.MMove(hwnd,758,300)//左鍵移動到「確定」Delay 400Plugin BGKM5.LClick(hwnd,758,300)//左鍵單擊「確定」Delay 500Plugin BGKM5.MMove(hwnd,1062,57)//左鍵移動到「關閉窗口」Delay 400Plugin BGKM5.LClick(hwnd,1062,57)//左鍵單擊「關閉窗口」Delay 400//以上為一個出征循環,多次出征可復制以上內容Plugin BGKM5.MMove(hwnd,668,297)//移動左鍵到「軍事行動」Delay 400Plugin BGKM5.LClick(hwnd,668,297)//左鍵單擊「軍事行動」Delay 400Plugin BGKM5.MMove(hwnd,573,199)//移動左鍵到「第一艦隊」Delay 400Plugin BGKM5.LClick(hwnd,573,199)//左鍵單擊「第一艦隊」Delay 400Plugin BGKM5.MMove(hwnd,727,377)//移動左鍵到「急速」Delay 400Plugin BGKM5.LClick(hwnd,727,377)//左鍵單擊「急速「Delay 400Plugin BGKM5.MMove(hwnd, 808,405)//左鍵移動到「確定出擊」Delay 400Plugin BGKM5.LClick(hwnd,808,405)//左鍵單擊「確定出擊」Delay 400Plugin BGKM5.MMove(hwnd,758,300)//左鍵移動到「確定」Delay 400Plugin BGKM5.LClick(hwnd,758,300)//左鍵單擊「確定」Delay 500Plugin BGKM5.MMove(hwnd,1062,57)//左鍵移動到「關閉窗口」Delay 400Plugin BGKM5.LClick(hwnd,1062,57)//左鍵單擊「關閉窗口」Delay 400Plugin BGKM5.MMove(hwnd,668,297)//移動左鍵到「軍事行動」Delay 120000
採納哦