Globalkeys » History » Version 2
Per Amundsen, 07/08/2017 04:56 AM
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 | *Switches* |
||
14 | |||
15 | -a - Adds a new key. |
||
16 | -d - Deletes a key. |
||
17 | -u - Updates the command for a key. |
||
18 | |||
19 | *Parameters* |
||
20 | |||
21 | [key] - The key to add. |
||
22 | [command] - The command to run when the key is pressed. |
||
23 | |||
24 | *Example* |
||
25 | |||
26 | <pre> |
||
27 | ; Register the hotkey Ctrl+D. |
||
28 | /globalkeys -a Ctrl+D /ctrldcommand |
||
29 | |||
30 | ; Unregister the hotkey. |
||
31 | /globalkeys -d Ctrl+D |
||
32 | </pre> |