Guest User

Parog @ OwnedCore

a guest
Jan 11th, 2016
122
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3. ;;              Made by Parog of OwnedCore.com
  4. ;;
  5. ;; This script moves your mouse to specific coords. Run it once,
  6. ;; then left click the autohotkey icon on the taskbar and select
  7. ;; "Window Spy". Mouse over where you want it to click.
  8. ::
  9. ;;                  Run the script as admin
  10. ;;
  11. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  12.  
  13.  
  14.  
  15. ;Mouse button 4 will launch this part of the script
  16. XButton1::
  17. ;Save the mouse position for later so it returns at the same coords
  18. MouseGetPos, xpos, ypos
  19. ;Moves the mouse for the first click, change coords if needed. (Coords: The remote new quest(s) and quest(s) to turn in button)
  20. DllCall("SetCursorPos", int, 1770, int, 425)
  21. Click down, 1770, 425
  22. sleep 50
  23. Click up
  24. ;Waits for the window to pop up so we don't click before it shows
  25. sleep 100
  26. ;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)
  27. DllCall("SetCursorPos", int, 338, int, 819)
  28. Click down, 338, 819
  29. sleep 50
  30. Click up
  31. ;Returns the mouse where it originally was
  32. DllCall("SetCursorPos", int, xpos, int, ypos)
  33. return
  34.  
  35.  
  36. ;Mouse button 5 will launch this part of the script
  37. Xbutton2::
  38. ;Save the mouse position for later so it returns at the same coords
  39. MouseGetPos, xpos, ypos
  40. ;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)
  41. DllCall("SetCursorPos", int, 1870, int, 497)
  42. Click down
  43. sleep 50
  44. Click up
  45. ;Returns the mouse where it originally was
  46. DllCall("SetCursorPos", int, xpos, int, ypos)
  47. return
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×