07:15:10 25/2/2025 - 3 views -Tiện ích, mẹo hay
Efficiency is key when working on a computer, and being able to quickly manage open windows can greatly enhance your workflow. If you frequently find yourself needing to minimize the active window, you might wonder if there's a way to do so with a single key press. Fortunately, with the help of AutoHotkey (AHK), you can configure your Windows 10 system to minimize any active window instantly by pressing Alt + `.
Minimizing a window typically requires a combination of keys, such as Win + Down Arrow
or clicking the minimize button manually. However, assigning a dedicated key combination to perform this function can:
To achieve this functionality, we will use AutoHotkey (AHK), a lightweight scripting language that automates repetitive tasks in Windows.
Before creating the script, you need to install AutoHotkey:
Now that AutoHotkey is installed, follow these steps to create a script that minimizes the active window when you press Alt + `.
!`::WinMinimize, A
!
represents the Alt key." is the backtick key (next to the number 1 on most keyboards).<li> <span>
WinMinimize, A` tells Windows to minimize the currently active window..ahk
extension, such as minimize.ahk
..txt
file.minimize.ahk
file you just created.If you want this functionality to be available every time you start your computer, follow these steps:
Win + R
, type shell:startup
, and hit Enter.minimize.ahk
file and paste it into the Startup folder.With a simple AutoHotkey script, you can streamline your workflow and minimize windows effortlessly with Alt + `. This small tweak can make a significant impact on your daily productivity, allowing you to navigate between tasks more efficiently.
If you're interested in automating more tasks with AutoHotkey, there are countless possibilities, from launching applications to creating custom keyboard shortcuts. Experiment and customize the script to fit your needs!