mIRC Home    About    Download    Register    News    Help

Print Thread
#104577 05/12/04 07:53 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
there any way to capture on keydown in lets say? a channel window?


Need amazing web design for low price: http://www.matrixn3t.net
#104578 05/12/04 09:31 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Only thing i know of is to be monitoring the $editbox for the key being pressed.

This of course is limited to keys that produce a charactre in the editbox.

#104579 06/12/04 03:40 AM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I was about to post a new topic about this subject, but when I saw the thread, I decided to join :P

Is there anyway, without using .dlls, that I can capture the ON Keydown of the TAB key? It does produce a character - $chr(9) - but when you press it in the editbox, it changes tabs instead of printing the char.

Any help would be appreciated smile
Zyzzyx.


"All we are saying is give peace a chance" -- John Lennon
#104580 06/12/04 03:44 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
You can press Ctrl-I to make a tab but it's not very useful, since tabs do not appear correctly in channel windows.

#104581 06/12/04 11:45 AM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I was looking for something more related to mIRC's nick completation thing, rather then showing the $chr(9). I use PnP 4.22 but I'm trying to quit :P It's too heavy and it delays a lot mIRC's inicialization, and I only like a couple of PnP's features. One of them is this TAB thing: when there is nothing written in the editbox, if I press TAB, the script will do an /editbox command and show me the last person that messaged me -> /msg <nick>

I tried to reproduce the features I like, but this TAB thing is the only thing missing :P I was wondering if PnP uses a .dll for that, or if it's pure mIRC scripting.

Zyzzyx smile


"All we are saying is give peace a chance" -- John Lennon
#104582 06/12/04 11:49 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
That would be a mIRC feature.

/help Tab

Quote:
Tab

If an editbox is empty and you press the Tab key, mIRC inserts a "/msg nickname" into the editbox of the window you are currently on, where nickname is the last person that sent you a message.

You can use Control+D to remove a nickname from the Tab Key nickname list of users who have recently messaged you.

Note: The editbox needs to be empty in order for the Tab key to work as described above since the Tab key also performs the functions below...

If you are in a channel window editbox and it contains some text, the Tab key performs nickname completion on the word the cursor is on, this allows you type in only the first character or two of a nickname on that channel and then press Tab and mIRC will expand it to the full nickname.

If you press the Tab key while the cursor is positioned over a %variable or $identifier, it is evaluated.

The Tab completion also works for a nickname in a query window, the nicknames in your notify list when in the status window, and for channel names in your favorites folder when in any window.

You can also use wildcard *? characters in nickname tab completion.


New username: hixxy
#104583 06/12/04 12:28 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Ohhhhhhhh.... *duh*. I had no idea it was a mIRC feature! Thanks for the help laugh


"All we are saying is give peace a chance" -- John Lennon
#104584 06/12/04 12:36 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Np smile
I find a feature i've never seen before just about every time I look in the help file wink


New username: hixxy

Link Copied to Clipboard