Jump to content

controlmouseclick


Recommended Posts

Global $Idle = False
hotkeyset ("{f1}","pause")
HotKeySet ("{f2}","stop")

$1= wingethandle ("[CLASS:MapleStoryClass]")

$w1 = InputBox("Delay Check", "Enter The Delay between each function in seconds.(i use about 1500 seconds)")
$w2 = InputBox("Delay Check", "Enter The Delay before starting the bot in seconds.(i use about 5000 to 10000 seconds)")
WinFlash("[CLASS:MapleStoryClass]","", 10, 500) 
sleep ($w2)
do 

$2= ControlClick ("","",$1,"left",10,430, 341)

sleep ($w1)
$3=controlclick ("","",$1,"left",10,580, 387)

sleep ($w1)
$5=controlsend  ("","",$1,"{up}")

sleep ($w1)
$6=controlclick ("","",$1,"left",40,404, 350)

sleep ($w1)
until run ("")
func pause()
    $Idle = Not $Idle
Do
If $Idle = True then        
    sleep (10)
EndIf
until $Idle = False

EndFunc
func stop ()
    exit 
    endfunc

the problem is that when im in game and out of the game its needing to click on some spots but all it do is to move the mouse over on the point... lets say i want the mouse to go to x:404, y:350

and the mouse is on x:500 y:500 its just move from x:500,y:500 to x:404,y:350 but if they are on then same point so i start hold the mouse on x:404, y:350 then it clicks ?

so even i need a script to move the mouse or to click there i want it to click (in game)

sorry for some bad english :/

Link to comment
Share on other sites

This is pretty much what I've asked about, a few threads down. If I understand you correctly, you want autoit to do something to a window, even though you may have some other window active. Consider this a bump, as I have not recieved an answer yet myself. =P

Link to comment
Share on other sites

This is pretty much what I've asked about, a few threads down. If I understand you correctly, you want autoit to do something to a window, even though you may have some other window active. Consider this a bump, as I have not recieved an answer yet myself. =P

yes i want to do 2 thinks at one time and yes it is supost to do it in the script above but it dont click :S
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...