Shortcuts » History » Revision 109
Revision 108 (Per Amundsen, 06/25/2017 05:33 PM) → Revision 109/141 (Per Amundsen, 07/04/2017 02:45 PM)
{{>toc}}
h1. Hotkeys
table(#keys).
|*Key*|*Description*|
|%(key)ALT% + %(key)1-9% | Switches window to selected number in Switchbar order|
|%(key)ALT% + %(key)Z% | Closes current window|
|%(key)CTRL% + %(key)W% | Closes current window|
|%(key)ALT% + %(key)F4% | Closes application|
|%(key)PAGEDOWN% | Scrolls messages down one page|
|%(key)PAGEUP% | Scrolls messages up one page|
|%(key)ALT% + %(key)PAGEDOWN% | Scrolls messages down|
|%(key)ALT% + %(key)PAGEUP% | Scrolls messages up|
|%(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)|
|%(key)ALT% + %(key)ENTER% | Adds a newline in Editbox|
|%(key)ALT% + %(key)UP/DOWN% | Scrolls up/down in Editbox message history even if multiline|
|%(key)ALT% + %(key)END% | Scrolls messages to bottom|
|%(key)ALT% + %(key)UP% | Scrolls up in Editbox message history|
|%(key)ALT% + %(key)DOWN% | Scrolls down in Editbox message history|
|%(key)CTRL% + %(key)UP% | Scrolls up one line|
|%(key)CTRL% + %(key)DOWN% | Scrolls down one line|
|%(key)CTRL% + Mouse wheel up | Scrolls up one line|
|%(key)SHIFT% + Mouse wheel up/down | Scrolls through windows|
|%(key)CTRL% + Mouse wheel down | Scrolls down one line|
|%(key)TAB% | Performes [[Tabcomplete]] on /commands, nicks, #channels, %variables and $identifiers|
|%(key)CTRL% + %(key)J%| Opens a Winamp playlist search|
|\2. %(key)CTRL% + copy text from text buffer will copy the color/font formatting|
|\2. %(key)SHIFT% + starting AdiIRC will bypass any autoconnect servers and show the quick connect dialog|
|%(key)SHIFT% + %(key)TAB%| Cycles through Editbox, Searchbox, Nicklist and Topicbox|
|%(key)CTRL% + %(key)D% | Toggles window attachment (Can be used on any window including Options, Theme manager etc)|
|%(key)ALT% + %(key)X% | Toggles window maximized status|
|%(key)ALT% + %(key)F1% | Opens help window|
|%(key)ALT% + %(key)L% | Opens channel list|
|%(key)ALT% + %(key)R% | Opens script manager|
|%(key)ALT% + %(key)O% | Opens options window|
|%(key)ALT% + %(key)B% | Opens the Address book|
|%(key)ALT% + %(key)D% | Opens aliases editor|
|%(key)ALT% + %(key)P% | Opens menu editor|
|%(key)ALT% + %(key)N% | Toggles Notify list|
|%(key)ALT% + %(key)U% | Toggles URL catcher list|
|%(key)CTRL% + %(key)T% | Opens new server window|
|%(key)CTRL% + %(key)F% | Opens text search|
|%(key)CTRL% + %(key)SHIFT% + %(key)F% | Opens global text search|
|%(key)CTRL% + %(key)L% | Scrolls the unread line marker line into view|
|%(key)CTRL% + %(key)SHIFT% + %(key)L% | Enable/disable the marker line in current window|
|%(key)CTRL% + %(key)G% | Hides/shows Treebar|
|%(key)CTRL% + %(key)H% | Cycles last highlighted windows|
|%(key)CTRL% + %(key)S% | Opens server list|
|%(key)CTRL% + %(key)ALT% + %(key)UP% | Toggles window opacity (transparency)|
|%(key)CTRL% + %(key)ALT% + %(key)DOWN% | Toggles window opacity (transparency)|
|%(key)CTRL% + %(key)Enter% | Allows you to send a message starting with "/<command>" without executing the command|
|%(key)CTRL% + %(key)R% | Toggles sound on/off|
|%(key)CTRL% + %(key)+% | Increases text size in current window|
|%(key)CTRL% + %(key)-% | Decreases text size in current window|
|%(key)CTRL% + %(key)0% | Resets text size in current window|
|%(key)CTRL% + %(key)B% | [[Formatting Text|Inserts bold tag]]|
|%(key)CTRL% + %(key)K% | [[Formatting Text|Inserts color tag]]|
|%(key)CTRL% + %(key)SHIFT% + %(key)K% | [[Formatting Text|Inserts alternative color tag]]|
|%(key)CTRL% + %(key)I% | [[Formatting Text|Inserts italic tag]]|
|%(key)CTRL% + %(key)U% | [[Formatting Text|Inserts underline tag]]|
|%(key)CTRL% + %(key)O% | [[Formatting Text|Inserts stop all formatting tag]]|
|%(key)CTRL% + %(key)E% | Inserts emoticon|
|Mousebutton 3| Cycles one window back (according to treebar/switchbar order)|
|Mousebutton 4| Cycles one window forward(according to treebar/switchbar order)|
|%(key)ALT% + %(key)LEFT%| Cycles one window back (according to treebar/switchbar order)|
|%(key)ALT% + %(key)RIGHT%| Cycles one window forward (according to treebar/switchbar order)|
|%(key)CTRL% + %(key)ALT% + %(key)LEFT% | Cycles one window back (according to treebar/switchbar order) including minimized windows|
|%(key)CTRL% + %(key)ALT% + %(key)RIGHT% | Cycles one window forward (according to treebar/switchbar order) including minimized windows|
|%(key)CTRL% + %(key)TAB%| Cycles through open window (in recent history order)|
|%(key)CTRL% + %(key)SHIFT% + %(key)TAB%| Cycles through open windows backwards (in recent history order)|
|%(key)CTRL% + %(key)N%| Cycles through all open channel windows|
|%(key)CTRL% + %(key)Q%| Cycles through all open query windows|
|%(key)CTRL% + %(key)M%| Goto next unread window|
|%(key)CTRL% + %(key)ALT% + %(key)M%| Goto next unread window with new normal messages/highlights only|
|%(key)SHIFT% + Left MouseClick a tab in Switchbar/Treebar | Closes the window|
|%(key)CTRL% + Left MouseClick a tab in Switchbar/Treebar | Minimizes the window|
|%(key)ESC%| For channels/custom window it minimizes, for most dialogs it closes|
|%(key)F1%| Shows the help window or the "help file":https://adiirc.com/AdiIRC.chm|
|%(key)F2% | Toggles [[Monitor Panels]] on/off|
|%(key)F5%| Reloads Logviewer/Theme Manger/Plugin Manager|
|%(key)F11%| Toggle main window fullscreen|
|%(key)CTRL% + %(key)E% | Focus filter box in Options/Serverlist|
|%(key)CTRL% + %(key)S% | Save Options/Scripting Editor/Serverlist/Theme Manager|
|%(key)SHIFT% + Clicking Connect/Connect in a new window button in the Serverlist | Opens the server in a new window without connecting.|
|%(key)SHIFT% + %(key)UP% | Move selected network up in the Serverlist.|
|%(key)SHIFT% + %(key)DOWN% | Move selected network down in the Serverlist.|
|%(key)SHIFT% + Clicking the Titlebar minimize icon | Minimize AdiIRC to tray regardless of tray settings.|
|%(key)CTRL% + Clicking the Titlebar minimize icon | Show the [[/lock]] dialog.|
|%(key)SHIFT% + Right Clicking the Titlebar of a undocked window | Rolls the window up or down.|
|%(key)SHIFT% + Clicking quick connect "log on" button | Connects in a new server window.|
|%(key)SHIFT% + Clicking server history/favorites menu item | Connects in a new server window.|
|%(key)ALT% + Left-click main window | Moves the main window when Titlebar is disabled.|
h2. Override built-in hotkeys
Starting with version 1.9.6, you can use the scripting event [[on KEYDOWN]] to override most of the built-in hotkeys.
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.
Can also be used to create new hotkeys.
*Example*
<pre>
; Setup a keydown keyval for character 'r', you can retrieve the keyval value from the $keyval identifier.
on *:KEYDOWN:*:114:{
; Check if control key is pressed using bitwise comparison
; Control = 2
; Shift = 4
; Alt = 8
if ($mouse.key & 2) {
; Echo the hotkey was pressed
echo -ag Ctrl + R was pressed
; Halt any AdiIRC hotkeys
halt
}
}
; Getting a keyval for a key.
on *:KEYDOWN:*:*:{ echo -ag keyval for $keychar is $keyval }
</pre>
h2. Creating new hotkeys
New hotkeys can be created using the alias syntax and the F-keys.
F1-12 and any combination using alt/shift/control is allowed.
a - Alt.
s - Shift.
c - Control
*Example*
<pre>
alias aF3 {
echo -ag I pressed ALT + F3
}
alias sF3 {
echo -ag I pressed SHIFT + F3
}
alias cF3 {
echo -ag I pressed CTRL + F3
}
alias caF3 {
echo -ag I pressed CTRL + ALT + F3
}
</pre>