Jump to content

help with game bots


Recommended Posts

HotKeySet("{F11}", "_user32_MouseMove")

While 1
Sleep(10)
WEnd

Func _user32_MouseMove()
$xAmount = 50
$yAmount = 50
DllCall("user32.dll","none","mouse_event","long",1,"long",$xAmount,"long",$yAmount,"long",0,"long", 0)
MsgBox(0, "", "")
EndFunc

it moves a relative amount, so try this instead.

no luck

it works if the window is not active though

thanks for help anyway

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...