Anyone care to help with a simple AHK script? - - An Overclocking Community

Forum Jump: 

Anyone care to help with a simple AHK script?

Thread Tools
post #1 of 1 (permalink) Old 08-30-2019, 05:08 PM - Thread Starter
New to
anyhtinggoes's Avatar
Join Date: Dec 2007
Posts: 835
Rep: 60 (Unique: 53)
Anyone care to help with a simple AHK script?

What I need is lets say if the 4 key is pressed, it's disabled for 5.2 seconds. The same for the 5 6 7 8 and 9 keys except they would each have their own delay before they are usable again. I tried, I failed.

EDIT: Maybe I succeeded?
#if A_TickCount-4WasPressedAt<5200	
I think that works. Maybe someone could help make it so if I were pressing shift+4 during the disable period that would still work.

Last edited by anyhtinggoes; 08-30-2019 at 08:43 PM.
anyhtinggoes is offline  
Sponsored Links

Quick Reply

Register Now

In order to be able to post messages on the - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Please enter a password for your user account. Note that passwords are case-sensitive.
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off