{{>toc}} h1. Hotkeys |*Key*|*Description*| |%(key)ALT% + %(key)1-9% | Switches window to selected number| |%(key)ALT% + %(key)Z% | Closes current window| |%(key)CTRL% + %(key)W% | Closes current window| |%(key)ALT% + %(key)F4% | Closes application| |%(key)ALT% + %(key)PAGEDOWN% | Scrolls messages down| |%(key)ALT% + %(key)PAGEUP% | Scrolls messages up| |%(key)CTRL% + %(key)SPACE% | Opens contextmenu in inputbox/topicbox/script editor| |%(key)ALT% + %(key)ENTER% | Adds a newline in inputbox| |%(key)ALT% + %(key)UP/DOWN% | Scrolls up/down in inputbox message history even if multiline| |%(key)ALT% + %(key)END% | Scrolls messages to bottom| |%(key)ALT% + %(key)UP% | Scrolls up in inputbox message history| |%(key)ALT% + %(key)DOWN% | Scrolls down in inputbox 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)CTRL% + Mouse wheel down | Scrolls down one line| |%(key)ALT% + %(key)TAB% | Performes [[Tabcomplete]] on /commands, nicks, #channels, %variables and $identifiers| |%(key)CTRL% + %(key)J%| Open 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 inputbox, userlist, topicbox, searchbox| |%(key)CTRL% + %(key)D% | Toggles window attachment| |%(key)ALT% + %(key)X% | Toggles window maximized status| |%(key)CTRL% + %(key)ALT% + %(key)A% | Toggles window is ontop| |%(key)ALT% + %(key)F1% | Opens help window| |%(key)ALT% + %(key)F2% | Toggles docking panels on/off| |%(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)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 "/" 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% | Inserts bold tag| |%(key)CTRL% + %(key)K% | Inserts color tag| |%(key)CTRL% + %(key)I% | Inserts italic tag| |%(key)CTRL% + %(key)U% | Inserts underline tag| |%(key)CTRL% + %(key)O% | 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 a help window| |%(key)F2%| Toggle on/off Docking panels| |%(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.| 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*
; 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
  }
}
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*
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
}