Shortcuts » History » Revision 129
Revision 128 (Per Amundsen, 10/15/2018 03:46 AM) → Revision 129/141 (Per Amundsen, 11/17/2018 12:10 AM)
{{>toc}}
h1. Shortcuts
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)CTRL% + %(key)UP% | Scrolls messages up one line|
|%(key)CTRL% + %(key)DOWN% | Scrolls messages down one line|
|%(key)CTRL% + Mouse wheel up | Scrolls messages up one line|
|%(key)CTRL% + Mouse wheel down | Scrolls messages down one line|
|%(key)CTRL% + %(key)END% | Scrolls messages to bottom|
|%(key)CTRL% + %(key)HOME% | Scrolls messages to top|
|%(key)CTRL% + %(key)SPACE% | Opens contextmenu in [[Editbox Control|Editbox]]/[[Topicbox Control|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 Control|Editbox]]|
|%(key)ALT% + %(key)UP% | Scrolls up in [[Editbox Control|Editbox]] message history, even if the current message is multiline|
|%(key)ALT% + %(key)DOWN% | Scrolls down in [[Editbox Control|Editbox]] message history, even if the current message is multiline|
|%(key)SHIFT% + Mouse wheel up/down | Scrolls through windows in Switchbar order|
|%(key)TAB% | Performes [[Tabcomplete]] on /commands, nicks, #channels, %variables and $identifiers|
|%(key)CTRL% + %(key)J%| Opens the Media Player playlist search|
|%(key)CTRL% + copy text from text buffer| Copies the text and the color/font control codes|
|%(key)SHIFT% + copy text from text buffer| Copies the text using a rectangle|
|%(key)SHIFT% + starting AdiIRC| Bypasses any autoconnect servers and show the quick connect dialog|
|%(key)SHIFT% + %(key)TAB%| Cycles through [[Editbox Control|Editbox]], Searchbox, Nicklist and [[Topicbox Control|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)A% | Opens channel Favorites|
|%(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)ALT% + %(key)K% | Focuses the Toolbar Searchbox, if enabled.|
|%(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% | Increases window opacity (transparency)|
|%(key)CTRL% + %(key)ALT% + %(key)DOWN% | Decreases window opacity (transparency)|
|%(key)CTRL% + %(key)Enter% | Allows you to send a message starting with "/<command>" without executing the command|
|%(key)CTRL% + %(key)SHIFT% + %(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)R% | [[Formatting Text|Inserts reverse 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.|
|%(key)CTRL% + %(key)+%| Increases the font size on current active window.|
|%(key)CTRL% + %(key)-%| Decreases the font size on current active window.|
|%(key)CTRL% + %(key)0%| Resets font size on current active window.|
h2. Override built-in shortcuts
*As of 2.9 shortcuts can be changed in [[Options Dialog|Options]] -> [[Shortcuts Options|Shortcuts]].*
Starting with version 1.9.6, you can use the scripting event [[on KEYDOWN]] to override most of the built-in shortcuts.
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 shortcuts.
*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 shortcuts was pressed
echo -ag Ctrl + R was pressed
; Halt any AdiIRC shortcuts
halt
}
}
; Getting a keyval for a key.
on *:KEYDOWN:*:*:{ echo -ag keyval for $keychar is $keyval }
</pre>
h2. Creating new shortcuts
*As of 2.9 new shortcuts can be added in [[Options Dialog|Options]] -> [[Shortcuts Options|Shortcuts]].*
New shortcuts 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>
_See also [[/globalkeys]]._