How to make Notepad Always on top

If youre an avid Linux fan, you may be familiar with the Always on Top feature. This pins a window to the forefront of the other windows, even if it loses focus. This is great for keeping track of a specific window and ensuring it doesnt get buried under all the rest.

You may be disappointed to see that Windows doesnt natively support this feature. Fear not: there are third-party ways to enable Always on Top for Windows.

Making a Custom Script with AutoHotkey

This method isnt as convenient as dedicated software, but it is good if you dont wish to install an entire suite just to pin windows to the top. Its also the best choice if you want freedom over how you activate the shortcut to pin a window.

To achieve this method, were going to need AutoHotkey. This allows us to manually script the always on top hotkey and customize it as we like.

Once youve downloaded and installed AutoHotkey, you dont need to open it. Instead, right-click the desktop and go to New -> AutoHotkey Script.

A new window appears in Notepad, or whatever youve set to replace Notepad. Theres a bit of text already in it, but you dont need to do anything with it. Instead, go to a new line and enter the following:

Save the script, then double-click it on the desktop. You can now set a window to always appear on top by pressing Ctrl + Space. There is no visual cue for windows being pinned or unpinned, so youll have to mentally keep track.

If you dont like the Ctrl + Space hotkey, feel free to change it. The ^SPACE part of the above code handles the hotkeys: the ^ is for either Ctrl key, and the SPACE is the Space Bar. You can use AutoHotkeys List of Keys to find the codes for your own custom hotkey!

Pin Windows Using DeskPins

If you prefer a visual identification of pinned windows, try DeskPins. This app sits in your taskbar until you click on it. Once you do, you can set which windows to stay on top, and includes a visual aid.

Once youve downloaded and installed DeskPins, youll see it appear in the taskbar as a window with a red pin on it. If you cant see it, you may need to click the upward arrow to the left of the taskbar and drag DeskPins into the main bar.

Once you find the icon, click it. Your cursor will turn into a pin shape. When you click on a window, a small red pin will appear at the top right. The window will now stay on top.

If you want to remove the pin, simply hover your mouse over it and click it.

Staying on Top with Always on Top

While some operating systems and programs allow you to always pin a window to the top, Windows doesnt have it by default. Thankfully, by using a few tools, you can get this handy feature on a Windows machine!

Which method do you prefer? Let us know below.

Our latest tutorials delivered straight to your inbox.

Subscribe Now

Thanks for subscribing! Please check your email for further instructions.

Video liên quan

Chủ Đề