Jump to content

add Delay between HotKeySet pressed

Recommended Posts


How can i add a limited amount of time between a HotKeyset key has been pressed till another can be pressed?


Is there a way to stablish a time between two key strokes?



Share this post

Link to post
Share on other sites

What I would do in this case is load and unload all my hotkeys with a function. When any hotkey is pressed, I would run the function to unload the hotkeys. If the function the hotkey is calling just needs to finish, then load the hotkeys again at the end of the function. If the function that is called hasn't finished yet and you want to enable the hotkeys again, then set an adlibregister to reactivate the hotkeys. The load function will also need to have an adlibunregister so you aren't constantly reactivating keys.



False Positive Reporter - Mass email all anti virus vendors with an attachment of your program for fast and easy whitelisting.

My GitHub Page: https://github.com/BetaLeaf

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now