Change screen resolution before starting an application on Windows
Find a file
2021-01-01 16:38:36 +03:00
.clang-format Add sources 2021-01-01 16:38:16 +03:00
.gitignore Add sources 2021-01-01 16:38:16 +03:00
CMakeLists.txt Add sources 2021-01-01 16:38:16 +03:00
LICENSE Initial commit 2021-01-01 15:11:53 +03:00
main.cpp Add sources 2021-01-01 16:38:16 +03:00
README.md Add README 2021-01-01 16:38:36 +03:00

About

This is a simple tool to change screen resolution for Windows application. It changes screen resolution before starting application and restores original resolution after application exits. The tool can be useful for some weird applications, requiring particular screen resolution to work properly, but not setting it themselves.

Building

git clone https://github.com/UltraCoderRU/screen-resolution-changer.git
cd screen-resolution-changer
mkdir build
cd build
cmake ..
cmake --build . --config Release

Usage

screen-resolution-changer.exe <width> <height> <executable> [args...]

Normally you create a shell link (.lnk) with that command to start application with specific screen resolution.