Sign in to follow this  
Followers 0
Squeek

need help with racing bot

7 posts in this topic

is there any way to have a mouse drag something up....hold it there,for the gass....and wile its doin that .....have the up arrow timed so it will shift gears?!!?!?!?

Share this post


Link to post
Share on other sites



Are you talking about this: MouseClickDrag ( "button", x1, y1, x2, y2 [, speed] ) ?

That *should* work for the drag part, just use a sleep() func on the delayed gears.

Hope I helped...


---Sparkes.

Share this post


Link to post
Share on other sites

will that have the gas continously held down though?..

Share this post


Link to post
Share on other sites

Welcome to the forums!

This should get you started. You'll need to fill in the blanks appropriately.

MouseMove(...)
MouseDown(...)
MouseMove(...)
Send(...)
···
MouseUp(...)

Share this post


Link to post
Share on other sites

what will that do exactly?

Share this post


Link to post
Share on other sites

It will do exactly what you described:

is there any way to have a mouse drag something up....hold it there,for the gass....and wile its doin that .....have the up arrow timed so it will shift gears?!!?!?!?

MouseMove(...); Move the mouse to where the drag will begin
MouseDown(...); Hold the mouse button down
MouseMove(...); Move the mouse to another spot, i.e. dragging
Send(...); Press some keyboard keys, like an up arrow
···
MouseUp(...); Release the mouse button, i.e. complete the drag

You just need to fill in the appropriate blanks.

Share this post


Link to post
Share on other sites

excellent guys ...thanks alot ......lol i'm so new to this

Share this post


Link to post
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
Sign in to follow this  
Followers 0