mIRC Home    About    Download    Register    News    Help

Print Thread
ON TABCOMP Idea #156006 10/08/06 10:31 PM
Joined: Mar 2003
Posts: 50
C
coolspot Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Mar 2003
Posts: 50
I searched the board and couldnt find this, but I think it would be an interesting addition to add a $tabkey(N) identifier (or something similar) that would return which additional keys are being held down whenever the TABCOMP event is triggered. If N = 0 the total amount of keys held down is returned. In this way you could make various snippets of code trigger based on key combinations with the TAB key. This could be useful to make tab do things other then just complete nicknames. (like spell checking, URL history, and even override CTRL+TAB etc..)

Thanks!

Re: ON TABCOMP Idea #156007 11/08/06 02:04 AM
Joined: Oct 2003
Posts: 25
Z
Zerg Offline
Ameglian cow
Offline
Ameglian cow
Z
Joined: Oct 2003
Posts: 25
you can already use the TAB+CTRL and TAB+SHIFT combination, using $mouse.key. as for other combinations... would it be that useful ? and why not add this to on INPUT too ?

Re: ON TABCOMP Idea #156008 11/08/06 04:04 AM
Joined: Mar 2003
Posts: 50
C
coolspot Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Mar 2003
Posts: 50
Adding the ability to check for key combinations could be used to invoke other actions like cycling through all the operators, voiced, non-voiced users to filter tabbing if your in a room with tons of users. Or to invoke spell checking on the current word/sentence. Overall, I think it would an editbox a bit more versitile by displaying information quickly (like pressing TAB+T to fill the editbox with the current channel topic. Putting the same feature to the on input event could be interesting as well... thats definately something to think about.