Jump to content
Sign in to follow this  
smokinbudz

Newbie help please

Recommended Posts

smokinbudz

I'm trying to get a script to hold down "w" for 3 seconds, then release and press "s" for 3 seconds and release. Unfortunately I don't see any examples in the help menu with this command. I just see the command listed. Can anyone help me to write these 2 commands please? Here is an example of a while part of a script. Thanks in advance for your help.

While 1

Sleep(6500)

Send("{SPACE}")

Sleep(5900)

MouseClick("right")

If I wanted to add those 2 commands here, how should I write it?

Sleep(100)

MouseClick("right")

Sleep(100)

MouseClick("right")

Sleep(100)

MouseClick("right")

WEnd

Share this post


Link to post
Share on other sites
Nahuel

From help file:

To hold a key down (generally only useful for games)
    Send("{a down}");Holds the A key down
    Send("{a up}");Releases the A key

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.