mIRC Home    About    Download    Register    News    Help

Print Thread
#179694 26/06/07 08:39 PM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
hello

when right click menu appears in a query window whats the keyboard shortcut to hit "ignore"?

nataliad #179697 26/06/07 09:59 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
By default, mIRC doesn't have one, but you can change that in the Pop-ups section of your Remote Editor.

Press Alt+r to open the remote editor
Click the Pop-ups tab
Click View - Query
Place the & sign in front of the letter that you want to use for the shortcut.
Click OK

RusselB #179701 26/06/07 10:17 PM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
mmm are you sure it works?

nataliad #179703 26/06/07 10:44 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Hmm...my apologies.. I based my earlier response on my knowledge of making hotkeys work for things like dialogs, without actually testing it. mIRC, by default, already has Alt key assignments for all of the letters in the word Ignore, so then I tried to find something that didn't come up with a default assignment.

Further testing has shown that this is incorrect, however, the following alias does work
Code:
F3 {  if !$chan {    /ignore $$1 1 | /closemsg $$1  } }


It's not exactly what you were looking for, but it's as close as I was able to find that worked.

RusselB #179708 27/06/07 03:09 AM
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Russel was right, except that you don't need Alt+"Letter"
Pressing "i" would first go to 'Info' in the default popups, then to 'Ignore' when pressed a second time (and you'd need to pres "enter").

Two ways to go...
Assign "n" to 'Info' (hence "i" will shoot to ignore)
I&nfo:/uwho $$1

Or make "i" the activating letter for Ignore
&Ignore:ignore $$1 1 | close -m $1

Or use another letter in the word ignore if you wish.


deegee #179710 27/06/07 03:23 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Originally Posted By: deegee

Or make "i" the activating letter for Ignore
&Ignore:ignore $$1 1 | close -m $1


The & doesn't work in those popups, the only place it works is the first line of the menubar (&Commands).

SladeKraven #179711 27/06/07 03:24 AM
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Quote:
Russel was right, except that you don't need Alt+"Letter"

(In other words, you only need to press "i" - NOT "Alt+i")

Try it wink

SladeKraven #179715 27/06/07 05:29 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Originally Posted By: SladeKraven
The & doesn't work in those popups

It works fine here. The & underlines the next letter and makes it a shortcut for that item, overriding the default shortcut (the first letter). Infact, it's a standard way of defining shortcuts in menus (under Windows, atleast).

You won't see the underline if you have the relevant setting enabled in Control Panel -> Display -> Appearance -> Effects.

Collective #179771 27/06/07 11:52 PM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
sorry, didnt get it

do placeing & before the key I want, I make a hotkey? is works?

I did it and it didnt work

also, hitting ALT closes the context menu

nataliad #179794 28/06/07 07:49 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Can you show the code you have?
Code:
Info:/uwho $$1
Whois:/whois $$1
Query:/query $$1
-
Ign&ore:/ignore $$1 1 | /closemsg $$1
-
CTCP
.Ping:/ctcp $$1 ping
.Time:/ctcp $$1 time
.Version:/ctcp $$1 version
DCC
.Send:/dcc send $$1
.Chat:/dcc chat $$1
Works here (sets o as the key for Ignore).

Collective #179848 28/06/07 07:14 PM
Joined: Feb 2006
Posts: 307
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Feb 2006
Posts: 307
this is my code

Code:
Info:/uwho $$1
Whois:/whois $$1
Query:/query $$1
-
&Ignore:/ignore $$1 1 | /closemsg $$1
-
CTCP
.Ping:/ctcp $$1 ping
.Time:/ctcp $$1 time
.Version:/ctcp $$1 version
DCC
.Send:/dcc send $$1
.Chat:/dcc chat $$1

nataliad #179883 29/06/07 05:25 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
That works for me. If I press 'i' with the popup open it ignores the user and closes the window.


Link Copied to Clipboard