In Windows 10, the shortcut keys for switching virtual desktop are ctrl + win + right / left arrow. I'd like to simplify it, by changing it to ctrl + right or left arrow key only. How can I do this?
Answer
AutoHotkey is a great program for doing this exact type of thing. It is an very useful program for remapping keyboard keys, letting you set up hotkeys, and automating tasks. Here are the steps to set this up:
- Download AutoHotkey (http://www.autohotkey.com/) and install it.
- Right-click on your desktop > New > Autohotkey Script (name it whatever you want).
- Right-click, Edit Script.
- Paste the following text under the already-present text:
#NoTrayIcon
^Right::^#Right
^Left::^#Left
- Save and run the script to test its functionality.
- If it performs as expected, copy the script into the startup folder* so that it will run every time your computer starts.
Optionally, you can compile the script to run as a standalone .exe that can be run on other computers that don't have AutoHotkey installed. To do this, right-click the script file, and click "Compile Script."
*To access the startup folder in Windows 10, open "Run" (either press Windows Key + R, or search for it in the start menu) and type either (without quotes): "shell:startup" (to run the script for just the current user) or "shell:common startup" (to run it for all users). Paste it in the folder that opens.
No comments:
Post a Comment