Globalkeys » History » Revision 3
Revision 2 (Per Amundsen, 07/08/2017 04:56 AM) → Revision 3/8 (Per Amundsen, 07/08/2017 08:00 PM)
_Added in 2.9_
*/globalkeys [-adu] [key] [command]*
Adds a global hotkey which will trigger without AdiIRC window being focused.
Format is key+key+.
Modifiers: Ctrl, Shift, Alt.
Valid key names can be found "here":https://msdn.microsoft.com/en-us/library/system.windows.forms.keys(v=vs.110).aspx.
_Typing /globalkeys with no parameters lists the current keys._
*Switches*
-a - Adds a new key.
-d - Deletes a key.
-u - Updates the command for a key.
*Parameters*
[key] - The key to add.
[command] - The command to run when the key is pressed.
*Example*
<pre>
; Register the hotkey Ctrl+D.
/globalkeys -a Ctrl+D /ctrldcommand
; Unregister the hotkey.
/globalkeys -d Ctrl+D
</pre>