A lightweight and smart Windows automation tool that re-maps taskbar navigation to the Alt key. This utility ensures that your applications not only switch focus but also pop to the foreground, effectively solving the "minimized window" issue.
- Ergonomic Hotkeys: Uses
Alt + [Number]instead of the default WindowsWin + [Number]. - Anti-Minimize Logic: Automatically detects if an application remains minimized or fails to focus and re-triggers the command to bring it to the front.
- Seamless Integration: Lightweight and runs in the background with minimal resource consumption.
taskbar-navigator/
├── .gitignore
├── README.md
└── taskbar-navigation/
├── main.py # Core logic
└── requirements.txt # Dependencies
- Windows OS
- Python 3.x installed
- Clone the repository:
git clone [https://github.com/rohmansyah23/taskbar-navigator.git](https://github.com/rohmansyah23/taskbar-navigator.git)
cd taskbar-navigator
- Navigate to the script folder:
cd taskbar-navigation
- Install required libraries:
pip install -r requirements.txt
Important
You must run your terminal or command prompt as Administrator for the script to have permission to control keyboard inputs and intercept shortcuts globally.
- Run the script:
python main.py
- Use your new shortcuts:
Alt + 1→ Opens or focuses the 1st app on your Taskbar.Alt + 2→ Opens or focuses the 2nd app on your Taskbar.- ... up to
Alt + 9.
The script captures Alt + [Number] keypresses and converts them to the native Windows Win + [Number] commands.
After sending the command, it performs a validation check: "Is the newly focused window actually active and in the foreground?". If the target window is still minimized, the script executes an anti-minimize routine to force the window to pop up and stay active.
Distributed under the MIT License. See LICENSE for more information.
- Rohmansyah - GitHub Profile