Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;; Made by Parog of OwnedCore.com
- ;;
- ;; This script moves your mouse to specific coords. Run it once,
- ;; then left click the autohotkey icon on the taskbar and select
- ;; "Window Spy". Mouse over where you want it to click.
- ::
- ;; Run the script as admin
- ;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;Mouse button 4 will launch this part of the script
- XButton1::
- ;Save the mouse position for later so it returns at the same coords
- MouseGetPos, xpos, ypos
- ;Moves the mouse for the first click, change coords if needed. (Coords: The remote new quest(s) and quest(s) to turn in button)
- DllCall("SetCursorPos", int, 1770, int, 425)
- Click down, 1770, 425
- sleep 50
- Click up
- ;Waits for the window to pop up so we don't click before it shows
- sleep 100
- ;Moves the mouse for the second click, change coords if needed. (Coords: Quest accept and Quest Complete from the remote quest window after the first click)
- DllCall("SetCursorPos", int, 338, int, 819)
- Click down, 338, 819
- sleep 50
- Click up
- ;Returns the mouse where it originally was
- DllCall("SetCursorPos", int, xpos, int, ypos)
- return
- ;Mouse button 5 will launch this part of the script
- Xbutton2::
- ;Save the mouse position for later so it returns at the same coords
- MouseGetPos, xpos, ypos
- ;Moves the mouse for the first click, change coords if needed. (Coords: "AutoRun" for the first quest of the quest tracker -- All the side quests you pick up are in the same area anyway)
- DllCall("SetCursorPos", int, 1870, int, 497)
- Click down
- sleep 50
- Click up
- ;Returns the mouse where it originally was
- DllCall("SetCursorPos", int, xpos, int, ypos)
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement