Need help with a simple script

Ask gaming related questions
Posts: 1
Joined: 20 Jun 2018, 22:12

Need help with a simple script

20 Jun 2018, 22:16

I'm playing Fortnite and tired and constantly sprinting so I tried creating a script that holds down my sprint button when I press w. This is the script I created:

Send, {v down}
Send, {W down}
KeyWait, W
Send, {v up}
Send, {W up}

F11:: Suspend, Toggle
F12:: ExitApp

It works, but the problem is that every time I press W I also crouch. My crouch button is binded to left shift. Does anyone know why I keep crouching and how to fix it?
User avatar
Posts: 1860
Joined: 30 Sep 2013, 06:48

Re: Need help with a simple script

20 Jun 2018, 22:32

Why use a capital W, especially with the Send command? I assume the shift key will be pressed to create a capital W from a (small) w key press...

From the Send docs:
Note: As capital letters are produced by sending the Shift key, A produces a different effect in some programs than a. For example, !A presses Alt+Shift+A and !a presses Alt+A. If in doubt, use lowercase.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 12 guests