customize hotkey buffer

Recommended Posts

jennico 4

jennico 4

another stupid question. i want to delete (?) the hotkey buffer in my script. in other words, i don't want hotkeys to be queued and then calling the same function several times, because the gui needs some time to refresh.

is there a direct option (HOTKEYQUEUESIZE ?) or a workaround like pausing the script until gui is refreshed ?

Share this post

Link to post

Share on other sites

jennico 4

jennico 4

yes, this works. you can also set a variable when hotkey is pressed that blocks a second call and reset it on function end. still rough. i thought there might be an option to set the buffer like i did it years ago on my commodore.

another way is to use If _IsPressed("xx") Then in a loop instead of hotkeyset. but this does not cover the ctrl and alt combinations.