Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

A starter that needs a little bit of help with a script

$
0
0

So a friend gave me a script that i use, it is like this

AutoIt         
  1. $toolTip_Pos[1] = 0 ;Tooltip top Position
  2.  
  3. $keyStart = "F5"
  4. $keyEnd = "INSERT"
  5.  
  6. ;  ==> End Configurations
  7. $x = $toolTip_Pos[0]
  8. $y = $toolTip_Pos[1]
  9.  
  10. $mousex = 20
  11. $mousey = 200
  12.  
  13. HotKeySet("{f6}", "setmouse")
  14. Init()
  15.  
  16.  
  17. Func Action()
  18.     If $scroll[1][1] = 1 Then AdlibRegister("Scroll",$scroll[3][1])
  19.     HotKeySet("{"&$keyStart&"}", "Idle")
  20.     Opt("MouseCoordMode", 2) ;Sets coords  relative coords to the active window
  21.     $mouse = MouseGetPos()
  22.     $mousex = $mouse[0]
  23.     $mousey = $mouse[1]
  24.     DisplayMsg("Activated. Mouse position set; "&$mousex&"," &$mousey)
  25.     $P = 1
  26.     $splashed = 0
  27.     Opt("SendKeyDownDelay", 1)
  28.     For $i = 1 To 2 ;mana + hp max
  29.         $sta[$i] = _MemoryRead($add[$i], $Open, 'dword')
  30.     Next
  31.     While $P = 1
  32.         sleep(150)
  33.  
  34.         ControlClick($winTitle,"",$handle,"right",1,$mousex,$mousey)
  35.  
  36.         ;Call("Medicines")
  37.     WEnd

and i can't figure out how to build it.. any clues? im a starter so don't be rude please. :D


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>