Globalkeys » History » Version 3
  Per Amundsen, 07/08/2017 08:00 PM 
  
| 1 | 1 | Per Amundsen | _Added in 2.9_ | 
|---|---|---|---|
| 2 | |||
| 3 | 2 | Per Amundsen | */globalkeys [-adu] [key] [command]* | 
| 4 | 1 | Per Amundsen | |
| 5 | Adds a global hotkey which will trigger without AdiIRC window being focused. | ||
| 6 | |||
| 7 | Format is key+key+. | ||
| 8 | |||
| 9 | Modifiers: Ctrl, Shift, Alt. | ||
| 10 | |||
| 11 | Valid key names can be found "here":https://msdn.microsoft.com/en-us/library/system.windows.forms.keys(v=vs.110).aspx. | ||
| 12 | |||
| 13 | 3 | Per Amundsen | _Typing /globalkeys with no parameters lists the current keys._ | 
| 14 | |||
| 15 | 1 | Per Amundsen | *Switches* | 
| 16 | |||
| 17 | -a - Adds a new key. | ||
| 18 | -d - Deletes a key. | ||
| 19 | -u - Updates the command for a key. | ||
| 20 | |||
| 21 | *Parameters* | ||
| 22 | |||
| 23 | [key] - The key to add. | ||
| 24 | [command] - The command to run when the key is pressed. | ||
| 25 | |||
| 26 | *Example* | ||
| 27 | |||
| 28 | <pre> | ||
| 29 | ; Register the hotkey Ctrl+D. | ||
| 30 | /globalkeys -a Ctrl+D /ctrldcommand | ||
| 31 | |||
| 32 | ; Unregister the hotkey. | ||
| 33 | /globalkeys -d Ctrl+D | ||
| 34 | </pre> |