Project

General

Profile

Shortcuts » History » Version 41

Mr. BS, 05/06/2015 02:35 AM

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