Hello,
can you help me?,i need a script for a game for a three buttons,when i hold these ones-numpad1,numpad2,numpad3 i need 1000 clicks/or less/ to each of them permanently,until release that buttons,
Thank you for your help.
Script for game
Re: Script for game
Welcome to this AutoHotkey forum!
So you want either 1000 clicks, or less than 1000 clicks, right? Which is it?
What is a "click to each of them?"
What is a permanent click, as opposed to a temporary one?
I do not recommend a three-key hotkey, because AHK cannot provide consistent results with more than two non-modifier keys. See the documentation for details.
So you want either 1000 clicks, or less than 1000 clicks, right? Which is it?
What is a "click to each of them?"
What is a permanent click, as opposed to a temporary one?
I do not recommend a three-key hotkey, because AHK cannot provide consistent results with more than two non-modifier keys. See the documentation for details.
-
- Posts: 3
- Joined: 06 Dec 2023, 16:24
Re: Script for game
Thank you for your reply,mikeyww wrote: ↑07 Dec 2023, 09:01Welcome to this AutoHotkey forum!
So you want either 1000 clicks, or less than 1000 clicks, right? Which is it?
What is a "click to each of them?"
What is a permanent click, as opposed to a temporary one?
I do not recommend a three-key hotkey, because AHK cannot provide consistent results with more than two non-modifier keys. See the documentation for details.
i need 1000 clicks for each buttons,so when i press and hold those buttons,script is start,until i let them go.i just need these buttons,its a simple game,not need more.
thank you for your help.
Re: Script for game
Code: Select all
#Requires AutoHotkey v2.0
Numpad1:: {
Loop 1000
Click
Until !GetKeyState(ThisHotkey, 'P')
}
-
- Posts: 3
- Joined: 06 Dec 2023, 16:24
Re: Script for game
Thank you so much,it works perfectly,maybe one question,it is possible to make short delay in miliseconds between the clicks,1 milisecond?mikeyww wrote: ↑08 Dec 2023, 09:47Code: Select all
#Requires AutoHotkey v2.0 Numpad1:: { Loop 1000 Click Until !GetKeyState(ThisHotkey, 'P') }