Windows 7 (and newer) offers some great keyboard shortcuts for window management, which are especially useful in a multi-display desktop configuration.
However, many of these keyboard shortcuts require two hands to execute, and if you're using a mouse, this means a lot of disruptive jumping between the mouse and keyboard.
This simple AutoHotKey script remaps some of these two-handed shortcuts to left-hand-only shortcuts. Otherwise, the functionality of these shortcuts has not been modified.
-
Remaps Move active window to next left display shortcut (
Shift+Win+Left Arrow
) toCtrl+Shift+Z
. -
Remaps Move active window to next right display shortcut (
Shift+Win+Right Arrow
) toCtrl+Shift+X
.
- Download
windows-one-hand-shortcuts.exe
from this repo - Run the executable
- Download and install AutoHotKey
- Download
windows-one-hand-shortcuts.ahk
from this repo - Open the script. AutoHotKey will automatically load the script.
Yes. Edit the .ahk script and locate the "Hide Tray Icon" section under "OPTIONAL FEATURES". Uncomment the necessary lines to disable the tray icon.
Use the "Ahk2Exe" tool which is included with the AutoHotKey installation.
The hand position required by these keys felt ergonomically natural to me, and because of their placement on the bottom edge of the keyboard, I can find this position easily and without looking. By using Ctrl+Shift
in combination, the risk of shortcut conflicts with other applications is reduced.
When using these shortcuts, I use the following hand position: Left pinky finger on Ctrl
, left ring finger on Shift
, and then use the middle and index fingers to activate specific shortcuts.
To start this script automatically with your computer, simply add it to the Startup
folder in the Windows Start menu.
To locate this folder, open the Run prompts (shortcut Win+R
) and enter %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\
.
The MIT License (MIT)
Copyright © 2013 Evan Wondrasek
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Tray icon: Silk Icons by famfamfam