Shortcuts » History » Revision 51
Revision 50 (Per Amundsen, 09/27/2015 09:39 AM) → Revision 51/141 (Per Amundsen, 10/06/2015 01:29 AM)
{{>toc}}
h1. Hotkeys
%(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)ALT% + %(key)TAB% - Performes Tabcomplete on /commands, nicks, #channels, %variables and $identifiers
%(key)CTRL% + %(key)J% - Open a Winamp playlist search
%(key)ALT% + %(key)CTRL% + copy text from text buffer will copy the color/font formatting
%(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)ALT% + %(key)A% - Toggles window is ontop
%(key)ALT% + %(key)F11% - Toggles IRC fullscreen
%(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)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)G% - Hides/shows Sidebar
%(key)CTRL% + %(key)H% - Cycles last highlighted windows
%(key)CTRL% + %(key)S% - Opens server window
%(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)+% - Enlarges text size in current window
%(key)CTRL% + %(key)-% - Minimizes 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
Mousebutton 3 + Cycles one window back (according to treebar/switchbar order)
Mousebutton 4 + Cycles one window forward(according to treebar/switchbar order)
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}LEFT% - Cycles one window back (according to treebar/switchbar order)
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}RIGHT% - Cycles one window forward (according to treebar/switchbar order)
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}LEFT% - Cycles one window back (according to treebar/switchbar order) including minimized windows
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}RIGHT% - Cycles one window forward (according to treebar/switchbar order) including minimized windows
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}TAB% - Cycles through open window (in recent history order)
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}SHIFT% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}TAB% - Cycles through open windows backwards (in recent history order)
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}N% - Cycles through all open channel windows
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}Q% - Cycles through all open query windows
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}M% - Goto next unread window
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + %{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}M% - Goto next unread window with new normal messages/highlights only
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}SHIFT% + Left MouseClick a tab in Switchbar/Treebar - Closes the window
%{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;font-size:11px;line-height:1.4;margin:0 0.1em;padding:0.1em 0.6em;text-shadow:0 1px 0 #fff}CTRL% + Left MouseClick a tab in Switchbar/Treebar - Minimizes the window
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
}
}
</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>