mIRC Home    About    Download    Register    News    Help

Print Thread
Customizing Shortcut Keys #158532 05/09/06 03:31 PM
Joined: Sep 2005
Posts: 11
I
invid Offline OP
Pikka bird
OP Offline
Pikka bird
I
Joined: Sep 2005
Posts: 11
I have done a few searches looking for it on the forum, but haven't found results on it. Has anyone submitted a request for the ability to modify/create/customize the shortcut keys (or hotkeys) used by mIRC?

Re: Customizing Shortcut Keys #158533 06/09/06 12:27 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
If you're referring to the function keys (F1 - F12 on most keyboards), then look at /help Function Keys

Quote:
Function Key support
You can redefine function keys to perform certain commands, just like aliases. For example:

/F1 /say Hello!
/sF2 /query $1
/cF3 /ctcp $1 version

The s and c prefixes for Shift key and Control key respectively.

Note: A function key will behave differently depending on the window in which it is used. For example, when using it in a query window the $1 parameter refers to the selected users nickname. If you're on a channel and the nickname listbox is active then the function key will work on the selected nicknames. If the listbox is not active, the function key will just work on the channel.



If this isn't what you're referring to, then please clarify what keys you are referring to (and/or give an example)

Re: Customizing Shortcut Keys #158534 06/09/06 05:36 AM
Joined: Sep 2005
Posts: 11
I
invid Offline OP
Pikka bird
OP Offline
Pikka bird
I
Joined: Sep 2005
Posts: 11
Like Shift+Tab for the nicklist toggle, you could go in and say Ctrl+l instead etc. Just to be able to have a list of functions and define your own hotkey combinations to fire the commands.

Re: Customizing Shortcut Keys #158535 06/09/06 07:45 AM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
So remapping current shortcuts to new ones.. intresting idea, might be a little frustrating to use some scripts that use completely different shortcut keys to normal. ersonally its standart for a reason. that said in some cases it might be useable

Re: Customizing Shortcut Keys #158536 16/09/06 10:43 PM
Joined: Aug 2006
Posts: 23
W
wulf Offline
Ameglian cow
Offline
Ameglian cow
W
Joined: Aug 2006
Posts: 23
I put the following into a .mrc file and keep it in the root directory (Same as mirc.exe) :
Code:
;-----------------------------------------------------------------------
;F-Keys without modifier
;-----------------------------------------------------------------------
alias F1 { /help }
alias F2 { }
alias F3 { }
alias F4 { }
alias F5 { }
alias F6 { }
alias F7 { }
alias F8 { }
alias F9 { }
alias F10 { }
alias F11 { }
alias F12 { }
;-----------------------------------------------------------------------
;F-keys with [control] modifier  
;-----------------------------------------------------------------------
alias cF1 { }
alias cF2 { }
alias cF3 { }
alias cF4 { }
alias cF5 { }
alias cF6 { }
alias cF7 { }
alias cF8 { }
alias cF9 { }
alias cF10 { }
alias cF11 { }
alias cF12 { }
;-----------------------------------------------------------------------
;F-keys with [shift] modifier  
;-----------------------------------------------------------------------
alias sF1 { }
alias sF2 { }
alias sF3 { }
alias sF4 { }
alias sF5 { }
alias sF6 { }
alias sF7 { }
alias sF8 { }
alias sF9 { }
alias sF10 { }
alias sF11 { }
alias sF12 { }


I'ved edited out my key configs, but yah. Makes it real easy to just pop open the script editor, go to the 'fkey_asign.mrc' file and make changes as needed smile