hope i will help would like an autohotkey script where it stops me from using 2 key for 2 minutes
hope you can help
not use key w
-
- Posts: 7
- Joined: 22 Apr 2021, 14:55
- Contact:
not use key w
Last edited by gregster on 22 Apr 2021, 15:36, edited 1 time in total.
Reason: Topic moved to 'Ask For Help > Gaming' (from "Scripts and Functions > ...")
Reason: Topic moved to 'Ask For Help > Gaming' (from "Scripts and Functions > ...")
Re: not use key w
Code: Select all
F3::
off := True
SoundBeep, 1500
SetTimer, Done, % -1000 * 60 * 2
Return
Done:
off := False
SoundBeep, 1000
Return
#If off
w::
s::Return
#If
-
- Posts: 7
- Joined: 22 Apr 2021, 14:55
- Contact:
Re: not use key w
@mikeyww
thanks so it stop so i can not use w key for 2 minutes?
thanks so it stop so i can not use w key for 2 minutes?
Re: not use key w
Right, but you need not take my word for it. Test it and see.
This also applies to s, as an example. You can change that as you like.
This also applies to s, as an example. You can change that as you like.
-
- Posts: 7
- Joined: 22 Apr 2021, 14:55
- Contact:
Re: not use key w
@mikeyww
when I run script I can still use w key when it is that I should not be able to use w key
when I run script I can still use w key when it is that I should not be able to use w key
Re: not use key w
F3 activates the block, which will last for two minutes.
-
- Posts: 7
- Joined: 22 Apr 2021, 14:55
- Contact:
Re: not use key w
@mikeyww
can we do so I do not have to press F3 down before it starts
can we do so I do not have to press F3 down before it starts
Re: not use key w
Just remove the first line.
-
- Posts: 7
- Joined: 22 Apr 2021, 14:55
- Contact:
Re: not use key w
@mikeyww
just remote F3::
just remote F3::
Re: not use key w
Yes. That will enable the code to execute when you run the script, without a hotkey.
-
- Posts: 7
- Joined: 22 Apr 2021, 14:55
- Contact:
Re: not use key w
@mikeyww
can we do so I do not get this message here all the time
[Mod edit: Image fixed.]
can we do so I do not get this message here all the time
[Mod edit: Image fixed.]
Re: not use key w
Sure, you could certainly follow the instructions in that message if you like. One option is to add:
Code: Select all
#SingleInstance Force
Who is online
Users browsing this forum: No registered users and 41 guests