I would like a script that clicks again after I click, so kind of like a double click. When I click a certain key, it will wait until I let go, then click again.
The two keys I want binded to this function are 'z' and 'x'.
Any information required, I will be pleased to give.
Thank you
Request for Script
-
- Posts: 216
- Joined: 30 Jun 2016, 06:01
Re: Request for Script
Like this?
Code: Select all
~$z up::Send z
~$x up::Send x
Re: Request for Script
Sort of. The problem is my game won't detect the 'send' command. It only detects my input, not the scripts input. This makes it difficult to work with. Are there any other alternatives?
-
- Posts: 216
- Joined: 30 Jun 2016, 06:01
Re: Request for Script
Does this work?
or this
Code: Select all
~$z up::SendPlay z
~$x up::SendPlay x
Code: Select all
SetKeyDelay, 0, 500
~$z up::Send z
~$x up::Send x
Re: Request for Script
Did you try running the script as admin and/or adding the line SetKeyDelay, 0, 50 to the start of the script?Kontorted wrote:Sort of. The problem is my game won't detect the 'send' command. It only detects my input, not the scripts input. This makes it difficult to work with. Are there any other alternatives?
Re: Request for Script
I have tried to run as admin as well as the SetDelay. Admin however posed another problem. The key would continuously be held, and wouldn't let go until I pressed another key. For example, Z would remain held until I pressed X.evilC wrote:Did you try running the script as admin and/or adding the line SetKeyDelay, 0, 50 to the start of the script?Kontorted wrote:Sort of. The problem is my game won't detect the 'send' command. It only detects my input, not the scripts input. This makes it difficult to work with. Are there any other alternatives?
Let me rephrase my request.
I want a script that will press Z or X once more after my click. If I briefly click and let go, I want it to be 2 clicks. If I just click once and hold the button down, I don't want it to be 2 clicks, I want it to be normal.
If any more information is required, I will be happy to provide.
Who is online
Users browsing this forum: No registered users and 82 guests