How to Pin Windows “Always on Top” Using a Keyboard Shortcut
Have you ever found yourself needing to pin a window to the front on your PC ? There are ways to do it, but the one we’re about to show you might be easiest, as once you set it up, you’ll simple need to tap a couple buttons on your keyboard, and you’ll be good to go.
Here’s how to setup an AutoHotkey script to pin a window to the front in just a couple quick steps!
- Download and install AutoHotkey (it’s free and free of spyware and other garbage).
- After running through the installation, right-click your desktop and select New, then AutoHotkey Script.
- Rename the file that was created on your desktop something that makes sense like “Pin to top.”
- Right-click the file, then select Edit script.
- Delete the default script from the box, and enter the following
^SPACE:: Winset, Alwaysontop, , A
- Save the file you just created.
- Right-click it on your desktop and select Run script. (You should see an “H” in the system tray.)
Now, open a window and press Ctrl+Space to pin it to the front. Press the same buttons again to unpin it. If you want to change the keyboard shortcut , the “^SPACE” portion is the part you’d need to change. If you wanted ALT+Enter, you’d do “!ENTER” in its place.
Now, anytime you want to quickly pin a windows to the front, you can hit a keyboard shortcut and be good to go!
Have you used AutoHotkey before? Know of any other ways to pin windows to the front? Let us know in the comments!
Image Credit: wrangler via ShutterStock
Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.