Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Persistent
- DetectHiddenWindows, On
- SetTitleMatchMode 2
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;DO NOT CHANGE ANYTHING ABOVE UNLESS YOU KNOW WHAT YOU'RE DOING
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;In order to make this script work, YOU need to input the correct coordinates that should be "clicked" by the script in the Clicker Heroes Window.
- ;To do so, just open the "Window Spy" of AutoHotKeys and click on a monster in Clicker Heroes.
- ;Then, without moving your mouse from the monster, look in the Window spy box for the information of: ( Mouse Position ) In Active Window.
- ;The first number is xcoord (mine was 1250) and the second number is ycoord (mine was 550).
- ;You need to input these coordinates below! These example values are valid coordinates for a full screen browser window in an 1920x1080 resolution screen.
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- xcoord:=1033
- ycoord:=544
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;DO NOT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT YOU'RE DOING
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- winName=- Clicker Heroes
- SetControlDelay -1
- SetTimer,clickerHeroes,25
- return
- *~LButton::
- pclick=1
- return
- *~MButton::
- pclick=1
- return
- *~RButton::
- pclick=1
- return
- *~LButton UP::
- pclick=0
- return
- *~MButton UP::
- pclick=0
- return
- F1::ppause:=!ppause
- F2::
- if(isHidden)
- WinShow, %winName%
- else
- WinHide, %winName%
- isHidden:=!isHidden
- return
- clickerHeroes:
- If(ppause or pclick){
- return
- }
- ControlClick,% "x" xcoord " y" ycoord,% winName,,,,Pos NA
- return
Advertisement
Add Comment
Please, Sign In to add comment