Jump to content

add Delay between HotKeySet pressed


Recommended Posts

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

 

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...