mIRC Homepage
Posted By: invid Customizing Shortcut Keys - 05/09/06 03:31 PM
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?
Posted By: RusselB Re: Customizing Shortcut Keys - 06/09/06 12:27 AM
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)
Posted By: invid Re: Customizing Shortcut Keys - 06/09/06 05:36 AM
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.
Posted By: Jae Re: Customizing Shortcut Keys - 06/09/06 07:45 AM
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
Posted By: wulf Re: Customizing Shortcut Keys - 16/09/06 10:43 PM
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
© mIRC Discussion Forums