tezari

add Delay between HotKeySet pressed

3 posts in this topic

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?

 

Thanks!

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.

https://www.autoitscript.com/autoit3/docs/functions/AdlibRegister.htm

https://www.autoitscript.com/autoit3/docs/functions/AdlibUnRegister.htm


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

PortableApps.com App Creation Wizard  - A simple GUI-based Wizard for creating PortableApps.

SoundBoard - Play any song or sound you want at the press of a hotkey.

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