Project

General

Profile

Shortcuts » History » Version 64

Per Amundsen, 11/20/2015 12:01 PM

1 30 Per Amundsen
{{>toc}}
2
3 1 Per Amundsen
h1. Hotkeys
4
5 62 Per Amundsen
|*Key*|*Description*|
6 59 Mr. BS
|%(key)ALT% + %(key)1-9% | Switches window to selected number|
7
|%(key)ALT% + %(key)Z% | Closes current window|
8
|%(key)CTRL% + %(key)W% | Closes current window|
9
|%(key)ALT% + %(key)F4% | Closes application|
10
|%(key)ALT% + %(key)PAGEDOWN% | Scrolls messages down|
11
|%(key)ALT% + %(key)PAGEUP% | Scrolls messages up|
12
|%(key)CTRL% + %(key)SPACE% | Opens contextmenu in inputbox/topicbox/script editor|
13
|%(key)ALT% + %(key)ENTER% | Adds a newline in inputbox|
14
|%(key)ALT% + %(key)UP/DOWN% | Scrolls up/down in inputbox message history even if multiline|
15
|%(key)ALT% + %(key)END% | Scrolls messages to bottom|
16
|%(key)ALT% + %(key)UP% | Scrolls up in inputbox message history|
17
|%(key)ALT% + %(key)DOWN% | Scrolls down in inputbox message history|
18
|%(key)CTRL% + %(key)UP% | Scrolls up one line|
19
|%(key)CTRL% + %(key)DOWN% | Scrolls down one line|
20
|%(key)ALT% + %(key)TAB% | Performes Tabcomplete on /commands, nicks, #channels, %variables and $identifiers|
21
|%(key)CTRL% + %(key)J%| Open a Winamp playlist search|
22 61 Mr. BS
|\2. %(key)CTRL% + copy text from text buffer will copy the color/font formatting|
23
|\2. %(key)SHIFT% + starting AdiIRC will bypass any autoconnect servers and show the quick connect dialog|
24 59 Mr. BS
|%(key)SHIFT% + %(key)TAB%| Cycles through inputbox, userlist, topicbox, searchbox|
25
|%(key)CTRL% + %(key)D% | Toggles window attachment|
26
|%(key)ALT% + %(key)X% | Toggles window maximized status|
27
|%(key)ALT% + %(key)A% | Toggles window is ontop|
28
|%(key)ALT% + %(key)F11% | Toggles IRC fullscreen|
29
|%(key)ALT% + %(key)F1% | Opens help window|
30
|%(key)ALT% + %(key)F2% | Toggles docking panels on/off|
31
|%(key)ALT% + %(key)R% | Opens script manager|
32
|%(key)ALT% + %(key)O% | Opens options window|
33
|%(key)CTRL% + %(key)T% | Opens new server window|
34
|%(key)CTRL% + %(key)F% | Opens text search|
35
|%(key)CTRL% + %(key)L% | Scrolls the unread line marker line into view|
36
|%(key)CTRL% + %(key)SHIFT% + %(key)L% | Enable/disable the marker line in current window|
37
|%(key)CTRL% + %(key)G% | Hides/shows Treebar|
38
|%(key)CTRL% + %(key)H% | Cycles last highlighted windows|
39
|%(key)CTRL% + %(key)S% | Opens server list|
40
|%(key)CTRL% + %(key)ALT% + %(key)UP% | Toggles window opacity (transparency)|
41
|%(key)CTRL% + %(key)ALT% + %(key)DOWN% | Toggles window opacity (transparency)|
42
|%(key)CTRL% + %(key)Enter% | Allows you to send a message starting with "/<command>" without executing the command|
43
|%(key)CTRL% + %(key)R% | Toggles sound on/off|
44 64 Per Amundsen
|%(key)CTRL% + %(key)+% | Increases text size in current window|
45
|%(key)CTRL% + %(key)-% | Decreases text size in current window|
46 59 Mr. BS
|%(key)CTRL% + %(key)0% | Resets text size in current window|
47
|%(key)CTRL% + %(key)B% | Inserts bold tag|
48
|%(key)CTRL% + %(key)K% | Inserts color tag|
49
|%(key)CTRL% + %(key)I% | Inserts italic tag|
50
|%(key)CTRL% + %(key)U% | Inserts underline tag|
51
|%(key)CTRL% + %(key)O% | Inserts stop all formatting tag|
52 60 Mr. BS
|Mousebutton 3| Cycles one window back (according to treebar/switchbar order)|
53
|Mousebutton 4| Cycles one window forward(according to treebar/switchbar order)|
54 59 Mr. BS
|%(key)ALT% + %(key)LEFT%| Cycles one window back (according to treebar/switchbar order)|
55
|%(key)ALT% + %(key)RIGHT%| Cycles one window forward (according to treebar/switchbar order)|
56
|%(key)CTRL% + %(key)ALT% + %(key)LEFT%| Cycles one window back (according to treebar/switchbar order) including minimized windows|
57
|%(key)CTRL% + %(key)ALT% + %(key)RIGHT%| Cycles one window forward (according to treebar/switchbar order) including minimized windows|
58
|%(key)CTRL% + %(key)TAB%| Cycles through open window (in recent history order)|
59
|%(key)CTRL% + %(key)SHIFT% + %(key)TAB%| Cycles through open windows backwards (in recent history order)|
60
|%(key)CTRL% + %(key)N%| Cycles through all open channel windows|
61
|%(key)CTRL% + %(key)Q%| Cycles through all open query windows|
62
|%(key)CTRL% + %(key)M%| Goto next unread window|
63
|%(key)CTRL% + %(key)ALT% + %(key)M%| Goto next unread window with new normal messages/highlights only|
64
|%(key)SHIFT%| + Left MouseClick a tab in Switchbar/Treebar Closes the window|
65
|%(key)CTRL%| + Left MouseClick a tab in Switchbar/Treebar Minimizes the window|
66
|%(key)F1%| Shows a help window|
67
|%(key)F2%| Toggle on/off Docking panels|
68
|%(key)F5%| Reloads Logviewer/Theme Manger/Plugin Manager|
69
|%(key)F11%| Toggle main window fullscreen|
70 63 Per Amundsen
|%(key)CTRL% + %(key)E% | Focus filter box in Options/Serverlist|
71
|%(key)CTRL% + %(key)S% | Save Options/Scripting Editor/Serverlist|
72 27 Per Amundsen
73 24 Per Amundsen
h2. Override built-in hotkeys
74
75
Starting with version 1.9.6, you can use the scripting event [[on KEYDOWN]] to override most of the built-in hotkeys.
76 50 Per Amundsen
Not all functions have a [[Scripting Commands|command]], feel free to "request":https://dev.adiirc.com/projects/adiirc/issues/new one if you need it.
77 24 Per Amundsen
78 51 Per Amundsen
Can also be used to create new hotkeys.
79
80 24 Per Amundsen
*Example*
81
82
<pre>
83 37 Per Amundsen
; Setup a keydown keyval for character 'r', you can retrieve the keyval value from the $keyval identifier.
84 24 Per Amundsen
on *:KEYDOWN:*:114:{
85
86 37 Per Amundsen
  ; Check if control key is pressed using bitwise comparison
87 24 Per Amundsen
  ; Control = 2
88
  ; Shift = 4
89 30 Per Amundsen
  ; Alt = 8
90
  if ($mouse.key & 2) {
91
    
92 37 Per Amundsen
    ; Echo the hotkey was pressed
93 30 Per Amundsen
    echo -ag Ctrl + R was pressed
94 37 Per Amundsen
95 30 Per Amundsen
    ; Halt any AdiIRC hotkeys
96
    halt
97
  }
98 31 Per Amundsen
}
99
</pre>
100
101
h2. Creating new hotkeys
102 30 Per Amundsen
103
New hotkeys can be created using the alias syntax and the F-keys.
104
105
F1-12 and any combination using alt/shift/control is allowed.
106
107
a - Alt.
108
s - Shift.
109
c - Control
110
111
*Example*
112
113
<pre>
114
alias aF3 {
115
  echo -ag I pressed ALT + F3
116
}
117
118
alias sF3 {
119 24 Per Amundsen
  echo -ag I pressed SHIFT + F3
120
}
121 1 Per Amundsen
122
alias cF3 {
123
  echo -ag I pressed CTRL + F3
124
}
125
126
alias caF3 {
127
  echo -ag I pressed CTRL + ALT + F3
128
}
129
</pre>