(Script) Set a delay
(Script) Set a delay
Hello, it's to know how to define a delay that will happen after every click sent by the left click
Re: (Script) Set a delay
Are you trying to delay the click? or delay an action?
I'm not sure on the first, but the latter would be
I'm not sure on the first, but the latter would be
Code: Select all
LButton::
Sleep, 500 ; delay 1/2 s
MsgBox, You clicked a little while ago!
return
Re: (Script) Set a delay
To change the time you make when you click,
Re: (Script) Set a delay
for example I will click, there will be a response time: 0.17s 0.115s, 0.125s, or other.
and it's about being able to change that
and it's about being able to change that
Re: (Script) Set a delay
Its possible?
Re: (Script) Set a delay
Like this?
Code: Select all
$^LButton::
; prevent user from moving mouse from where the click was triggered
BlockInput MouseMove
Sleep, 2000 ; delay 2 s
Click
BlockInput MouseMoveOff
return ; block the original click
Re: (Script) Set a delay
The so when I click on my side, it will always be my time for me, but, in the PC or in a game, it will be the chosen time is it?
Thank you very much for your help, I will try this script
Thank you very much for your help, I will try this script
Re: (Script) Set a delay
How do I test?
Re: (Script) Set a delay
How do I test?
Re: (Script) Set a delay
Click the download link - if you have AHK installed, you should be able to run it - it's set to do a 2s delay whenever the CTRL + Click then click (you could take the ^ out of the trigger to make it just a click to trigger), click, try to move the mouse, try to click, note that it actually clicks after the 2 s - what I'm confused about is if putting a delay like this in is what you're looking for.
Re: (Script) Set a delay
It's for a game or a game on the clique at the same time and it's the one who clicks faster who wins, do you have a script too to always have the click? for example always clicked in front of a person, it's for his I thought that the delay of the clicks it helps but if you have a better thing it can be well
Re: (Script) Set a delay
When you say the one that clicks faster wins, is it like a ready, set, go and you want to hit the button first? - in that case, no, that is much harder to do with just AHK - you need something to detect when it's time to click
Is it the person who gets the most click in the fastest wins? sure
(untested) - see also https://autohotkey.com/board/topic/4877 ... lease-key/
Is it the person who gets the most click in the fastest wins? sure
Code: Select all
LButton::
Loop ; loop for indefinite count
{
If GetKeyState("LButton") ; if the LButton is still pressed,
{
Click ; then click again
Sleep, 50 ; allow a little time to not bog down the system
}
Else
{
Break
}
}
Return
Re: (Script) Set a delay
that's when I click at the same time a person by chance and I want if it is possible a script that allows me to always click before otherwise thank you very much for the scripts the second script really changes the time but I do not know if I will always win if I click at the same time, if you have this kind of script it will be fine
Re: (Script) Set a delay
The game is called Habbo, it uses Flash Player
Re: (Script) Set a delay
Have you got access to the server? I think that's where a script would run if it's supposed to give priority to your clicks over other clicks.
Re: (Script) Set a delay
No I do not have access to the server, but otherwise there is not a script that makes it so? even if it's not specifically for a game
Re: (Script) Set a delay
Game or not. How do you get info about other people's clicks?
The server would get such info, and that's why I believe such a script will have to run there. I might be wrong.
The server would get such info, and that's why I believe such a script will have to run there. I might be wrong.
Re: (Script) Set a delay
Yes I know we can not get information from other clique but it's for his that I think for example the delay if we change it we can make sure to have a very fast deadline to have a quick click but I do not know if there is something else
Re: (Script) Set a delay
Because AHK would get notified by the same Windows event (if using the mouse), AHK cannot make you click with a faster response than the mouse.
If you were to grammatically decide when to click, you could do that on the order of machine time (much faster than a human ever will), but that is extremely not easy with Flash (flash is built to not be hackable in this and several similar ways).
Sorry, but can't really help you be faster at clicking.
If you were to grammatically decide when to click, you could do that on the order of machine time (much faster than a human ever will), but that is extremely not easy with Flash (flash is built to not be hackable in this and several similar ways).
Sorry, but can't really help you be faster at clicking.
Re: (Script) Set a delay
Ok, anyway thank you very much for your help, but otherwise this script:
$ ^ LButton ::
; prevent user from moving mouse from where the click was triggered
BlockInput MouseMove
Sleep, 2000; delay 2s
click
BlockInput MouseMoveOff
return; block the original click
works very well, is it possible to make it faster? and changed the key to activate it?
$ ^ LButton ::
; prevent user from moving mouse from where the click was triggered
BlockInput MouseMove
Sleep, 2000; delay 2s
click
BlockInput MouseMoveOff
return; block the original click
works very well, is it possible to make it faster? and changed the key to activate it?
Who is online
Users browsing this forum: anogoya, Descolada, Mannaia666, skeerrt and 143 guests