Project

General

Profile

Shortcuts » History » Version 86

Per Amundsen, 07/06/2016 02:45 AM

1 72 Mr. BS
{{>toc}}
2 30 Per Amundsen
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 73 Per Amundsen
|%(key)CTRL% + Mouse wheel up | Scrolls up one line|
21
|%(key)CTRL% + Mouse wheel down | Scrolls down one line|
22 65 Per Amundsen
|%(key)ALT% + %(key)TAB% | Performes [[Tabcomplete]] on /commands, nicks, #channels, %variables and $identifiers|
23 59 Mr. BS
|%(key)CTRL% + %(key)J%| Open a Winamp playlist search|
24 61 Mr. BS
|\2. %(key)CTRL% + copy text from text buffer will copy the color/font formatting|
25
|\2. %(key)SHIFT% + starting AdiIRC will bypass any autoconnect servers and show the quick connect dialog|
26 59 Mr. BS
|%(key)SHIFT% + %(key)TAB%| Cycles through inputbox, userlist, topicbox, searchbox|
27
|%(key)CTRL% + %(key)D% | Toggles window attachment|
28
|%(key)ALT% + %(key)X% | Toggles window maximized status|
29 82 Per Amundsen
|%(key)CTRL% + %(key)ALT% + %(key)A% | Toggles window is ontop|
30 59 Mr. BS
|%(key)ALT% + %(key)F1% | Opens help window|
31
|%(key)ALT% + %(key)F2% | Toggles docking panels on/off|
32
|%(key)ALT% + %(key)R% | Opens script manager|
33
|%(key)ALT% + %(key)O% | Opens options window|
34 66 Per Amundsen
|%(key)ALT% + %(key)B% | Opens the Address book|
35 74 Per Amundsen
|%(key)ALT% + %(key)D% | Opens aliases editor|
36
|%(key)ALT% + %(key)P% | Opens menu editor|
37
|%(key)ALT% + %(key)N% | Toggles Notify list|
38
|%(key)ALT% + %(key)U% | Toggles URL catcher list|
39 59 Mr. BS
|%(key)CTRL% + %(key)T% | Opens new server window|
40
|%(key)CTRL% + %(key)F% | Opens text search|
41
|%(key)CTRL% + %(key)L% | Scrolls the unread line marker line into view|
42
|%(key)CTRL% + %(key)SHIFT% + %(key)L% | Enable/disable the marker line in current window|
43
|%(key)CTRL% + %(key)G% | Hides/shows Treebar|
44
|%(key)CTRL% + %(key)H% | Cycles last highlighted windows|
45
|%(key)CTRL% + %(key)S% | Opens server list|
46
|%(key)CTRL% + %(key)ALT% + %(key)UP% | Toggles window opacity (transparency)|
47
|%(key)CTRL% + %(key)ALT% + %(key)DOWN% | Toggles window opacity (transparency)|
48
|%(key)CTRL% + %(key)Enter% | Allows you to send a message starting with "/<command>" without executing the command|
49
|%(key)CTRL% + %(key)R% | Toggles sound on/off|
50 64 Per Amundsen
|%(key)CTRL% + %(key)+% | Increases text size in current window|
51
|%(key)CTRL% + %(key)-% | Decreases text size in current window|
52 59 Mr. BS
|%(key)CTRL% + %(key)0% | Resets text size in current window|
53
|%(key)CTRL% + %(key)B% | Inserts bold tag|
54
|%(key)CTRL% + %(key)K% | Inserts color tag|
55
|%(key)CTRL% + %(key)I% | Inserts italic tag|
56
|%(key)CTRL% + %(key)U% | Inserts underline tag|
57
|%(key)CTRL% + %(key)O% | Inserts stop all formatting tag|
58 79 Per Amundsen
|%(key)CTRL% + %(key)E% | Inserts emoticon|
59 60 Mr. BS
|Mousebutton 3| Cycles one window back (according to treebar/switchbar order)|
60
|Mousebutton 4| Cycles one window forward(according to treebar/switchbar order)|
61 59 Mr. BS
|%(key)ALT% + %(key)LEFT%| Cycles one window back (according to treebar/switchbar order)|
62
|%(key)ALT% + %(key)RIGHT%| Cycles one window forward (according to treebar/switchbar order)|
63 70 Mr. BS
|%(key)CTRL% + %(key)ALT% + %(key)LEFT% | Cycles one window back (according to treebar/switchbar order) including minimized windows|
64
|%(key)CTRL% + %(key)ALT% + %(key)RIGHT% | Cycles one window forward (according to treebar/switchbar order) including minimized windows|
65 59 Mr. BS
|%(key)CTRL% + %(key)TAB%| Cycles through open window (in recent history order)|
66
|%(key)CTRL% + %(key)SHIFT% + %(key)TAB%| Cycles through open windows backwards (in recent history order)|
67
|%(key)CTRL% + %(key)N%| Cycles through all open channel windows|
68
|%(key)CTRL% + %(key)Q%| Cycles through all open query windows|
69
|%(key)CTRL% + %(key)M%| Goto next unread window|
70
|%(key)CTRL% + %(key)ALT% + %(key)M%| Goto next unread window with new normal messages/highlights only|
71
|%(key)SHIFT%| + Left MouseClick a tab in Switchbar/Treebar Closes the window|
72
|%(key)CTRL%| + Left MouseClick a tab in Switchbar/Treebar Minimizes the window|
73 69 Mr. BS
|%(key)ESC%| For channels/custom window it minimizes, for most dialogs it closes|
74 59 Mr. BS
|%(key)F1%| Shows a help window|
75
|%(key)F2%| Toggle on/off Docking panels|
76
|%(key)F5%| Reloads Logviewer/Theme Manger/Plugin Manager|
77
|%(key)F11%| Toggle main window fullscreen|
78 63 Per Amundsen
|%(key)CTRL% + %(key)E% | Focus filter box in Options/Serverlist|
79 80 Per Amundsen
|%(key)CTRL% + %(key)S% | Save Options/Scripting Editor/Serverlist/Theme Manager|
80 76 Per Amundsen
|%(key)SHIFT% + Clicking Connect/Connect in a new window button in the Serverlist | Opens the server in a new window without connecting.|
81 78 Per Amundsen
|%(key)SHIFT% + %(key)UP% | Move selected network up in the Serverlist.|
82
|%(key)SHIFT% + %(key)DOWN% | Move selected network down in the Serverlist.|
83 83 Per Amundsen
|%(key)SHIFT% + Clicking the Titlebar minimize icon | Minimize AdiIRC to tray regardless of tray settings.|
84
|%(key)CTRL% + Clicking the Titlebar minimize icon | Show the [[/lock]] dialog.|
85 84 Per Amundsen
|%(key)SHIFT% + Right Clicking the Titlebar of a undocked window | Rolls the window up or down.|
86 86 Per Amundsen
|%(key)SHIFT% + Clicking quick connect "log on" button | Connects in a new server window.|
87
|%(key)SHIFT% + Clicking server history menu item | Connects in a new server window.|
88 85 Per Amundsen
89 24 Per Amundsen
h2. Override built-in hotkeys
90
91
Starting with version 1.9.6, you can use the scripting event [[on KEYDOWN]] to override most of the built-in hotkeys.
92 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.
93 24 Per Amundsen
94 51 Per Amundsen
Can also be used to create new hotkeys.
95
96 24 Per Amundsen
*Example*
97
98
<pre>
99 37 Per Amundsen
; Setup a keydown keyval for character 'r', you can retrieve the keyval value from the $keyval identifier.
100 24 Per Amundsen
on *:KEYDOWN:*:114:{
101
102 37 Per Amundsen
  ; Check if control key is pressed using bitwise comparison
103 24 Per Amundsen
  ; Control = 2
104
  ; Shift = 4
105 30 Per Amundsen
  ; Alt = 8
106
  if ($mouse.key & 2) {
107
    
108 37 Per Amundsen
    ; Echo the hotkey was pressed
109 30 Per Amundsen
    echo -ag Ctrl + R was pressed
110 37 Per Amundsen
111 30 Per Amundsen
    ; Halt any AdiIRC hotkeys
112
    halt
113
  }
114 31 Per Amundsen
}
115
</pre>
116
117
h2. Creating new hotkeys
118 30 Per Amundsen
119
New hotkeys can be created using the alias syntax and the F-keys.
120
121
F1-12 and any combination using alt/shift/control is allowed.
122
123
a - Alt.
124
s - Shift.
125
c - Control
126
127
*Example*
128
129
<pre>
130
alias aF3 {
131
  echo -ag I pressed ALT + F3
132
}
133
134
alias sF3 {
135 24 Per Amundsen
  echo -ag I pressed SHIFT + F3
136
}
137 1 Per Amundsen
138
alias cF3 {
139
  echo -ag I pressed CTRL + F3
140
}
141
142
alias caF3 {
143
  echo -ag I pressed CTRL + ALT + F3
144
}
145
</pre>