LightWeight HotKeyRecommended
LightWeight HotKey is a keyboard shortcut utility for Windows.
It offers a subset of AutoHotkey's features and can be configured through a graphical interface.
LightWeight HotKey is a keyboard shortcut utility for Windows.
It offers a subset of AutoHotkey's features and can be configured through a graphical interface.
I used AutoHotkey for several shortcuts. I wanted to add shortcuts and change their behavior without editing scripts each time.
Antivirus software also sometimes flagged executables I compiled with Ahk2Exe.
| LightWeight HotKey | AutoHotKey | |
|---|---|---|
| Setup difficulty | Moderate | Advanced (requires scripting) |
| Range of features | X (selected shortcut actions only) | O |
| GUI | O | X |
| Regular expressions | O | O |
| Choose a target integrity level | O | X |
| Antivirus detection | X | O |
| Schedule at Windows startup | O | X |
| Implementation | Hook | Hook |
| DLL Injection | X | X |
| Name | Description |
|---|---|
| RCT_Always | Always run |
| RCT_ActiveWindow_FullScreen | The active window is full screen |
| RCT_ActiveWindow_TitleMatch | The active window title matches exactly |
| RCT_ActiveWindow_TitleBegin | The active window title starts with the given text |
| RCT_ActiveWindow_TitleEnd | The active window title ends with the given text |
| RCT_ActiveWindow_TitleContains | The active window title contains the given text |
| RCT_ActiveWindow_TitleRegexMatch | The active window title matches a regular expression |
| RCT_ActiveWindow_ClassNameMatch | The active window class name matches exactly |
| RCT_ActiveWindow_ClassNameBegin | The active window class name starts with the given text |
| RCT_ActiveWindow_ClassNameEnd | The active window class name ends with the given text |
| RCT_ActiveWindow_ClassNameContains | The active window class name contains the given text |
| RCT_ActiveWindow_ClassNameRegexMatch | The active window class name matches a regular expression |
| RCT_ActiveWindow_ProcessNameMatch | The active window process name matches exactly |
| RCT_ActiveWindow_ProcessNameBegin | The active window process name starts with the given text |
| RCT_ActiveWindow_ProcessNameEnd | The active window process name ends with the given text |
| RCT_ActiveWindow_ProcessNameContains | The active window process name contains the given text |
| RCT_ActiveWindow_ProcessNameRegexMatch | The active window process name matches a regular expression |
| RCT_ActiveWindow_ProcessPathMatch | The active window process path matches exactly |
| RCT_MouseCursorChildWindow_TitleMatch | The child window under the pointer title matches exactly |
| RCT_MouseCursorChildWindow_TitleBegin | The child window under the pointer title starts with the given text |
| RCT_MouseCursorChildWindow_TitleEnd | The child window under the pointer title ends with the given text |
| RCT_MouseCursorChildWindow_TitleContains | The child window under the pointer title contains the given text |
| RCT_MouseCursorChildWindow_TitleRegexMatch | The child window under the pointer title matches a regular expression |
| RCT_MouseCursorChildWindow_ClassNameMatch | The child window under the pointer class name matches exactly |
| RCT_MouseCursorChildWindow_ClassNameBegin | The child window under the pointer class name starts with the given text |
| RCT_MouseCursorChildWindow_ClassNameEnd | The child window under the pointer class name ends with the given text |
| RCT_MouseCursorChildWindow_ClassNameContains | The child window under the pointer class name contains the given text |
| RCT_MouseCursorChildWindow_ClassNameRegexMatch | The child window under the pointer class name matches a regular expression |
| RCT_MouseCursorChildWindow_ProcessNameMatch | The child window under the pointer process name matches exactly |
| RCT_MouseCursorChildWindow_ProcessNameBegin | The child window under the pointer process name starts with the given text |
| RCT_MouseCursorChildWindow_ProcessNameEnd | The child window under the pointer process name ends with the given text |
| RCT_MouseCursorChildWindow_ProcessNameContains | The child window under the pointer process name contains the given text |
| RCT_MouseCursorChildWindow_ProcessNameRegexMatch | The child window under the pointer process name matches a regular expression |
| RCT_MouseCursorChildWindow_ProcessPathMatch | The child window under the pointer process path matches exactly |
| RCT_FindWindow_TitleMatch | The target window title matches exactly |
| RCT_FindWindow_TitleBegin | The target window title starts with the given text |
| RCT_FindWindow_TitleEnd | The target window title ends with the given text |
| RCT_FindWindow_TitleContains | The target window title contains the given text |
| RCT_FindWindow_TitleRegexMatch | The target window title matches a regular expression |
| RCT_FindWindow_ClassNameMatch | The target window class name matches exactly |
| RCT_FindWindow_ClassNameBegin | The target window class name starts with the given text |
| RCT_FindWindow_ClassNameEnd | The target window class name ends with the given text |
| RCT_FindWindow_ClassNameContains | The target window class name contains the given text |
| RCT_FindWindow_ClassNameRegexMatch | The target window class name matches a regular expression |
| RCT_FindWindow_ProcessNameMatch | The target window process name matches exactly |
| RCT_FindWindow_ProcessNameBegin | The target window process name starts with the given text |
| RCT_FindWindow_ProcessNameEnd | The target window process name ends with the given text |
| RCT_FindWindow_ProcessNameContains | The target window process name contains the given text |
| RCT_FindWindow_ProcessNameRegexMatch | The target window process name matches a regular expression |
| RCT_FindWindow_ProcessPathMatch | The target window process path matches exactly |
| RCT_Global_FindWindow_TitleMatch | The window anywhere on the desktop title matches exactly |
| RCT_Global_FindWindow_TitleBegin | The window anywhere on the desktop title starts with the given text |
| RCT_Global_FindWindow_TitleEnd | The window anywhere on the desktop title ends with the given text |
| RCT_Global_FindWindow_TitleContains | The window anywhere on the desktop title contains the given text |
| RCT_Global_FindWindow_TitleRegexMatch | The window anywhere on the desktop title matches a regular expression |
| RCT_Global_FindWindow_ClassNameMatch | The window anywhere on the desktop class name matches exactly |
| RCT_Global_FindWindow_ClassNameBegin | The window anywhere on the desktop class name starts with the given text |
| RCT_Global_FindWindow_ClassNameEnd | The window anywhere on the desktop class name ends with the given text |
| RCT_Global_FindWindow_ClassNameContains | The window anywhere on the desktop class name contains the given text |
| RCT_Global_FindWindow_ClassNameRegexMatch | The window anywhere on the desktop class name matches a regular expression |
| RCT_Global_FindWindow_ProcessNameMatch | The window anywhere on the desktop process name matches exactly |
| RCT_Global_FindWindow_ProcessNameBegin | The window anywhere on the desktop process name starts with the given text |
| RCT_Global_FindWindow_ProcessNameEnd | The window anywhere on the desktop process name ends with the given text |
| RCT_Global_FindWindow_ProcessNameContains | The window anywhere on the desktop process name contains the given text |
| RCT_Global_FindWindow_ProcessNameRegexMatch | The window anywhere on the desktop process name matches a regular expression |
| RCT_Global_FindWindow_ProcessPathMatch | The window anywhere on the desktop process path matches exactly |
| RCT_IME_English | The IME is in English mode. Use the Negative option to invert this condition. |
| RCT_TrayIconProcessNameMatchForWin10OrLower | Find a notification area icon by process name (Windows 10 or earlier) |
| RCT_TrayIconTitleMatch | Match the notification area icon text (Windows 11) |
| RCT_TrayIconTitleRegexMatch | Match the notification area icon text using a regular expression (Windows 11) |
| RCT_Desktop_ImageMatch | Match an image on the desktop |
| RCT_ActiveWindow_ImageMatch | Match an image in the active window |
| RCT_IsScale_100_Percent_Ratio_96 | DPI is 100% (Ratio: 96) |
| RCT_IsScale_125_Percent_Ratio_120 | DPI is 125% (Ratio: 120) |
| RCT_IsScale_150_Percent_Ratio_144 | DPI is 150% (Ratio: 144) |
| RCT_IsScale_175_Percent_Ratio_168 | DPI is 175% (Ratio: 168) |
| RCT_IsScale_200_Percent_Ratio_192 | DPI is 200% (Ratio: 192) |
| Name | Description |
|---|---|
| RET_Activate | Activate the target window |
| RET_Activate_Next_Window | Activate the next window in Z-order |
| RET_Activate_Last_Window | Activate the previous window in Z-order |
| RET_Activate_Same_ProcessName_Next_Window | Activate the next window with the same process name |
| RET_Activate_Same_ProcessName_Last_Window | Activate the last window with the same process name |
| RET_Activate_Same_ProcessPath_Next_Window | Activate the next window with the same executable path |
| RET_Activate_Same_ProcessPath_Last_Window | Activate the last window with the same executable path |
| RET_Activate_Or_Same_ProcessName_Next_Window | Activate the target window or, if it is already active, switch to the next window with the same process name |
| RET_Activate_Or_Same_ProcessName_Last_Window | Activate the target window or, if it is already active, switch to the last window with the same process name |
| RET_Activate_Or_Same_ProcessPath_Next_Window | Activate the target window or, if it is already active, switch to the next window with the same executable path |
| RET_Activate_Or_Same_ProcessPath_Last_Window | Activate the target window or, if it is already active, switch to the last window with the same executable path |
| RET_Activate_All_Same_ProcessName_Window_Tile | Tile all windows with the same process name |
| RET_Activate_All_Same_Class_Window_Tile | Tile all windows with the same window class |
| RET_Activate_All_Same_ProcessId_Class_Window_Tile | Tile all windows with the same process ID and window class |
| RET_Show_All_Same_ProcessName | Show all windows with the same process name |
| RET_Show_All_Same_Class | Show all windows with the same window class |
| RET_Show_All_Same_ProcessId | Show all windows with the same process ID |
| RET_ExecuteApp | Launch an app |
| RET_ExecuteApp_HighIntegrity | Launch an app at high integrity |
| RET_ExecuteApp_MediumIntegrity | Launch an app at medium integrity |
| RET_ExecuteApp_LowIntegrity | Launch an app at low integrity |
| RET_Size_Fixed | Resize the window to fixed dimensions |
| RET_Size_Percent | Resize the window by percentage |
| RET_SizeUp | Enlarge the window |
| RET_SizeDown | Shrink the window |
| RET_Move | Move the window to a fixed position |
| RET_MoveTo | Move the window by an offset |
| RET_MoveToCurrentMonitor_Left | Move the window to the left of the current monitor |
| RET_MoveToCurrentMonitor_Right | Move the window to the right of the current monitor |
| RET_MoveToCurrentMonitor_Top | Move the window to the top of the current monitor |
| RET_MoveToCurrentMonitor_Bottom | Move the window to the bottom of the current monitor |
| RET_MoveToCurrentMonitor_LeftTop | Move the window to the left top of the current monitor |
| RET_MoveToCurrentMonitor_LeftBottom | Move the window to the left bottom of the current monitor |
| RET_MoveToCurrentMonitor_RightTop | Move the window to the right top of the current monitor |
| RET_MoveToCurrentMonitor_RightBottom | Move the window to the right bottom of the current monitor |
| RET_MoveToCurrentMonitor_Center | Move the window to the center of the current monitor |
| RET_MoveToCurrentMonitor_Horizontal_Center | Move the window to the horizontal center of the current monitor |
| RET_MoveToCurrentMonitor_Vertical_Center | Move the window to the vertical center of the current monitor |
| RET_MoveToCurrentMonitor_Left_Percent | Move the window to the left of the current monitor with a percentage offset |
| RET_MoveToCurrentMonitor_Top_Percent | Move the window to the top of the current monitor with a percentage offset |
| RET_MoveToCurrentMonitor_Right_Percent | Move the window to the right of the current monitor with a percentage offset |
| RET_MoveToCurrentMonitor_Bottom_Percent | Move the window to the bottom of the current monitor with a percentage offset |
| RET_MoveToCurrentMonitor_LeftTop_Percent | Move the window to the left top of the current monitor with a percentage offset |
| RET_MoveToCurrentMonitor_LeftBottom_Percent | Move the window to the left bottom of the current monitor with a percentage offset |
| RET_MoveToCurrentMonitor_RightTop_Percent | Move the window to the right top of the current monitor with a percentage offset |
| RET_MoveToCurrentMonitor_RightBottom_Percent | Move the window to the right bottom of the current monitor with a percentage offset |
| RET_Window_Maximize | Maximize the window |
| RET_Window_Minimize | Minimize the window |
| RET_Window_Restore | Restore the window |
| RET_Window_Restore_And_Minimize | Restore and minimize the window |
| RET_Sleep | Delay execution (milliseconds) |
| RET_KeyInput_ReplaceAndRollback | Release existing modifiers, send the keys, and restore the modifiers |
| RET_KeyInput_AppendAndRollback | Send keys with the existing modifiers and restore their state |
| RET_KeyDown | Press a key |
| RET_KeyUp | Release a key |
| RET_KeyInput_CapsLock_On | Turn Caps Lock on |
| RET_KeyInput_CapsLock_Off | Turn Caps Lock off |
| RET_TextInput | Enter text using keybd_event |
| RET_TextInput_UsingClipBoard | Paste text from the clipboard |
| RET_MouseMove_Absolute | Move the pointer to absolute coordinates |
| RET_MouseMove_Relative | Move the pointer by an offset |
| RET_MouseMove_FromTarget_TopLeft | Move the pointer relative to the top-left of the target window |
| RET_MouseMove_FromTarget_TopRight | Move the pointer relative to the top-right of the target window |
| RET_MouseMove_FromTarget_BottomLeft | Move the pointer relative to the bottom-left of the target window |
| RET_MouseMove_FromTarget_BottomRight | Move the pointer relative to the bottom-right of the target window |
| RET_MouseMove_FromTarget_Center | Move the pointer relative to the center of the target window |
| RET_MouseMove_PrevMonitor_Center | Move the pointer to the center of the previous monitor |
| RET_MouseMove_NextMonitor_Center | Move the pointer to the center of the next monitor |
| RET_MouseMove_From_Desktop_ImageMatch_TopLeft | Move the pointer relative to the top-left of the matched image on the desktop |
| RET_MouseMove_From_Desktop_ImageMatch_TopRight | Move the pointer relative to the top-right of the matched image on the desktop |
| RET_MouseMove_From_Desktop_ImageMatch_BottomLeft | Move the pointer relative to the bottom-left of the matched image on the desktop |
| RET_MouseMove_From_Desktop_ImageMatch_BottomRight | Move the pointer relative to the bottom-right of the matched image on the desktop |
| RET_MouseMove_From_ActiveWindow_ImageMatch_TopLeft | Move the pointer relative to the top-left of the matched image in the active window |
| RET_MouseMove_From_ActiveWindow_ImageMatch_TopRight | Move the pointer relative to the top-right of the matched image in the active window |
| RET_MouseMove_From_ActiveWindow_ImageMatch_BottomLeft | Move the pointer relative to the bottom-left of the matched image in the active window |
| RET_MouseMove_From_ActiveWindow_ImageMatch_BottomRight | Move the pointer relative to the bottom-right of the matched image in the active window |
| RET_MouseClick | Click the mouse button |
| RET_MouseDoubleClick | Double-click the mouse button |
| RET_MousePositionSave_ExecutionContext | Save the pointer position for this execution |
| RET_MousePositionLoad_ExecutionContext | Restore the pointer position for this execution |
| RET_MatchTrayIcon_Click | Click the matched notification area icon |
| RET_MatchTrayIcon_DoubleClick | Double-click the matched notification area icon |
| RET_MatchTrayIcon_EmulateClick | Emulate a click on the matched notification area icon |
| RET_MatchTrayIcon_EmulateDoubleClick | Emulate a double-click on the matched notification area icon |
| RET_MatchTrayIcon_MouseMove_FromTarget_TopLeft | Move the pointer relative to the top-left corner of the matched icon |
| RET_MatchTrayIcon_MouseMove_FromTarget_Center | Move the pointer relative to the center of the matched icon |
| RET_CopyCurrentMousePointerSelItem_SysListView | Copy selected items from the SysListView32 control under the pointer |
| RET_CopyCurrentMousePointerAllItem_SysListView | Copy all items from the SysListView32 control under the pointer |
| RET_CopyCurrentMousePointerCursorItemText_SysListView | Copy the SysListView32 item text under the pointer |
| RET_Reset_Keyboard_Modifier_Context | Reset the keyboard modifier state |
| RET_Pause_LightWeightHotKey | Pause LightWeight HotKey |
| RET_ChainRule_With_CheckCondition | Run a chained rule if its conditions are met |
| RET_ChainRule_Skip_Condition_AlwaysExecute | Run a chained rule unconditionally |