Enhance your gaming experience with custom borders, taskbar hiding, and smart audio management for borderless windowed games. Especially useful for users with 32:9 super ultrawide monitors who want to play games in 21:9 aspect ratio. It creates a perfect centered 21:9 viewing area with black borders on the sides, giving you the ideal gaming experience without the need for manual resizing or dealing with stretched visuals.
- Ideal for 21:9 gaming on 32:9 super ultrawide monitors
- Add black borders to borderless windowed games
- Hide the taskbar for a truly fullscreen experience
- Mute/unmute game audio automatically
- Minimize games and mute them when toggled off
- Easy toggle with Windows + B hotkey
- Install AutoHotkey v2.0 from the official website.
- Download the
borderless-focus.ahk
script from this repository. - Double-click the script to run it.
- Launch your game in borderless windowed mode (use 3440x1440 for 21:9 on 32:9 monitors).
- Press
Windows + B
to toggle Borderless Focus on/off. - When activated:
- Black borders will appear around your game window (perfect for 21:9 on 32:9)
- The taskbar will be hidden
- Game audio will be unmuted
- When deactivated:
- Borders will be removed
- The taskbar will reappear
- Game audio will be muted
- The game window will be minimized
To enable a custom 21:9 resolution (3440x1440) on your 32:9 monitor:
- Press Windows key + R, type
regedit
, and press Enter - Use "Edit - Find..." and search for "NV_Modes" key
- Add the following to the end of the existing value:
; 3440x1440x8,16,32,64=1F
- Save and exit the Registry Editor
- Restart your computer
Note: You have to redo this upgrading your NVIDIA driver (no need to restart however)
Now you can set your game to 3440x1440 windowed mode and enjoy 240Hz refresh rate.
For the best experience with borderless windowed games, especially on ultrawide monitors, it's crucial to enable G-SYNC for both windowed and full screen modes:
- Open NVIDIA Control Panel
- Navigate to "Set up G-SYNC" in the left menu
- Check the box for "Enable G-SYNC, G-SYNC Compatible"
- Select "Enable for windowed and full screen mode"
- Apply the changes
This setting ensures that G-SYNC works properly with borderless windowed games, providing smooth, tear-free gameplay across your entire display.
- Ensure your game is the active window when toggling Borderless Focus.
- If you encounter any issues with audio control, check that the script has the necessary permissions to interact with your audio devices.
- For 32:9 monitor users: Use the custom 3440x1440 resolution for the best 21:9 experience.
- When toggling off Borderless Focus, your game will be minimized and muted, allowing you to easily switch to other applications.
If you encounter any issues:
- Ensure you're running the latest version of AutoHotkey v2.0.
- Check that your game is in true borderless windowed mode, not fullscreen or regular windowed mode.
- Run the script as administrator if you're having trouble with taskbar or audio controls.
- Verify that G-SYNC is enabled for both windowed and full screen mode in NVIDIA Control Panel.
- For ultrawide monitors: Make sure you've set up the custom 21:9 resolution as described above.
- If the custom resolution doesn't appear, try updating your GPU drivers or using a custom resolution utility.
- AppVol.ahk by anonymous1184