Project

General

Profile

Shortcuts » History » Version 104

Mr. BS, 12/26/2016 07:09 PM

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