11 月 16 日 下午 6:32
Steam Needs Multi-Screen Management Functionality
For example, if I open Steam on my laptop and connect it to an external monitor, I hope that when I launch a full-screen game, the game is projected onto the external screen, and the running Steam main window can be closed. When I exit the game, the secondary screen should turn off, and the running Steam main window should become active (or visible). This function is similar to the Win + P projection feature on Windows, but while Win + P projects the entire desktop to the secondary screen, a gamer only needs the game itself to be projected to the secondary screen. Some games, while allowing the selection of a display monitor, require both screens to be active, and the non-game screen can interfere with gaming focus.
< >
正在显示第 1 - 1 条,共 1 条留言
11 月 16 日 下午 6:58 
@echo off
:: Steam Game Display Switcher Script
:: Switches to second screen when game launches, restores to extend mode when game closes

:: === Configuration ===
:: Display mode while game is running: internal, external, clone, extend
set GAME_MODE=external

:: Display mode to restore after game closes: internal, external, clone, extend
set RESTORE_MODE=extend

:: Wait time after switching (seconds)
set WAIT_TIME=2

:: === Main Program ===
echo ========================================
echo Steam Game Display Switcher
echo ========================================
echo.

:: Switch to game mode
echo [1/3] Switching display to %GAME_MODE% mode...
C:\Windows\System32\DisplaySwitch.exe /%GAME_MODE%

:: Wait for display switch to complete
echo [2/3] Waiting %WAIT_TIME% seconds for display switch to complete...
timeout /t %WAIT_TIME% /nobreak >nul

:: Launch game (Steam passes game parameters via %*)
echo [3/3] Launching game...
echo.

:: Run game and wait for game process to end
%*

:: Restore display settings after game closes
echo.
echo ========================================
echo Game closed, restoring display settings...
C:\Windows\System32\DisplaySwitch.exe /%RESTORE_MODE%
echo Display restored to %RESTORE_MODE% mode
echo ========================================

timeout /t 2 /nobreak >nul
exit
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50