Sign in to follow this  
Followers 0
jennico

customize hotkey buffer

3 posts in this topic

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

 

Share this post


Link to post
Share on other sites



A workaround would be that the first thing a hotkey doeas is to unset all the hotkeys, and then in the end aply them again.. Rough but it should work


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

 

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
Sign in to follow this  
Followers 0