Jump to content

Recommended Posts

Posted

I am trying to learn this. What i am wanting to do is make a script that presses and holds the W button for 7 seconds then moves the mouse to a certain place on the screen and press the left click button. I want it to keep doing this over and over and over till i tell it to stop.

Is there any way to do this or am i just shooting in the dark?

Posted (edited)

Welcome to the forums!

I don't wanna be rude, but please post this problem in the Support forum!

I will help you there!

In this forum you post (near)finished scripts

[Edit] Ok changed my mind! But please use the right forum from now on^^

Send("{w down}");presses the W button and holds it
Sleep(7000);waits for 7000 milliseconds/7 sec
Send("{w up}");releases W button
MouseClick("left",123,234);leftclicks at the coordinates x=123,y=234

this is basically what you want. if you have any more questions, feel free to ask in the support forum, thats what its there for B)

Felix N.

Edited by Felix N.

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