mIRC Home    About    Download    Register    News    Help

Print Thread
on TABCOMP #154703 31/07/06 04:34 PM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Hi smile

on TABCOMP is a great event, but it only works if there is a text on the editbox (right?). What if it also got triggered when the editbox was empty (but selected)? smile

Thank you,
Zyzzy.


"All we are saying is give peace a chance" -- John Lennon
Re: on TABCOMP #154704 31/07/06 07:42 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
it does

Re: on TABCOMP #154705 31/07/06 08:45 PM
Joined: Sep 2005
Posts: 2,876
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,876
It triggers when the tab key is hit, no matter what it is in the editbox.

Re: on TABCOMP #154706 01/08/06 06:20 AM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
It doesn't here. Selecting the editbox and hitting the TAB won't do anything.

on *:tabcomp:*: echo -s * test


Is there something I'm missing?


"All we are saying is give peace a chance" -- John Lennon
Re: on TABCOMP #154707 01/08/06 07:26 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Your exact line was tested and worked fine. You might have remotes off? or your nit running mirc 6.20 LOL!

Re: on TABCOMP #154708 02/08/06 10:18 PM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I've got no idea what I'm doing wrong, or maybe I'm not being clear enough frown Using the line above, clicking on the editbox (empty) and hitting TAB won't do anything. Only if something is typed there it will work, including the hard space $chr(160).

I'm lost =P


"All we are saying is give peace a chance" -- John Lennon
Re: on TABCOMP #154709 03/08/06 11:21 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
no your being completely clear, thats exactly what i did and it did work.

Re: on TABCOMP #154710 03/08/06 11:32 AM
Joined: Dec 2002
Posts: 4,521
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,521
on TABCOMP should trigger even in an empty editbox. Which version of Windows are you using?

Re: on TABCOMP #154711 03/08/06 08:12 PM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I'm using XP Pro SP2

One thing I noticed is that the "empty TAB" does work with a clean, script-free mIRC 6.2; but it does not work with my usual mIRC - with my scripts and everything else. I've even tried loading the ON TABCOMP as a separated remote, without success. I wonder what type of script could be preventing the event from being read.

Weird..


"All we are saying is give peace a chance" -- John Lennon
Re: on TABCOMP #154712 03/08/06 09:54 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Well start taking things out, untill u find the one that cuases it, then report back on what u find, rather than giving missleading reports that it "just doesnt work".

Re: on TABCOMP #154713 03/08/06 10:14 PM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I did what you suggested and unloaded all remotes, aliases, variables, userlist, popups and guess what? It still won't work confused

The only apparent difference between the 2 mIRCs (the working and the non-working), are the options and the background/font colors smirk


"All we are saying is give peace a chance" -- John Lennon
Re: on TABCOMP #154714 05/08/06 07:56 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
lol, sorry to hear that, seems pretty wierd, do u experence this in all windows?

//window @ex -el @ex | aline -l @ex abc | aline -l @ex def

test on a custom window maybe?

Re: on TABCOMP #154715 05/08/06 03:39 PM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Custom windows, status window, channel windows, query windows.. nothing smirk *head scratch*


"All we are saying is give peace a chance" -- John Lennon
Re: on TABCOMP #154716 07/08/06 11:13 PM
Joined: Feb 2004
Posts: 714
Z
Zyzzyx26 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I tried doing the reverse process, and loaded my scripts one by one, to see which one hatled the ON TABCOMP. Again, nothing.. after all scripts were loaded, the TAB still worked smirk

Does anyone else can verify this?


"All we are saying is give peace a chance" -- John Lennon
Re: on TABCOMP #154717 09/08/06 06:39 PM
Joined: Dec 2002
Posts: 4,521
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,521
Thanks for the help, I think I may have figured it out... do you have the "Tab key changes editbox focus" option enabled in the Options/Other/Keys dialog? If I enable this option I can reproduce the problem.

If this option is enabled and the Tab key is pressed in an empty editbox (or in a situation where tab completion is not necessary), mIRC changes the focus to the next editbox/listbox. Triggering the the TABCOMP event in this situation did not seem appropriate.

I will add a note to the on TABCOMP section in the help file describing this situation.