Jump to content

customize hotkey buffer


Recommended Posts

hi there,

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 ?

thanx for your help and suggestions

j.

Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

Link to comment
Share on other sites

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.

j.

Edited by jennico
Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

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...