Jump to content

Recommended Posts

Posted

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?!!?!?!?

Posted

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.

Posted

Welcome to the forums!

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

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

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.

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
×
×
  • Create New...