STEAM GROUP
Big Picture bigpic
STEAM GROUP
Big Picture bigpic
582
IN-GAME
4,774
ONLINE
Founded
September 10, 2012
SOLDIER Aug 12, 2015 @ 8:13pm
Launch Big Picture Mode With Auto Monitor/Audio-Switching Commands?
I've been trying to find a way to launch Big Picture Mode under a specific set of preferences. I've previously used an AutoHotKey script on Windows 7 that did exactly what I wanted:

1. Open BPM

2. Turn off my PC monitor, display only on my TV monitor

3. Switch audio output from my PC to my TV.

4. Clone my display and switch my audio back to PC when I exit BPM.

This is the script I used, which was made by a separate user:

;Use the full path of where you extract VA.ahk
#Include C:\VA.ahk

;modify with the hotkey you would like to use
;or delete the line and run the script from your desktop when you want to switch
F4::

;Checks if big picture mode is already running, if it is then don't execute the rest of the script
IfWinExist, Steam ahk_class CUIEngineWin32 ;checks to see if the big picture mode window is running
return

;Switches displays with internal rendering mode enabled
Run, "C:\Windows\System32\DisplaySwitch.exe" /external

;Switch to sound device to use with the television
Run, "C:\Windows\ssd.exe" 1

;Stores the old volume of the device to be used when gaming
oldVol := VA_GetMasterVolume()

;Gets the current hour in 24 hour format Midnight = 0, 11pm = 23
FormatTime, aTimeH, A_Now, H
if(aTimeH < 8)
;set a low volume if it's after midnight but before 8am
VA_SetMasterVolume(100.0)
else
;Set the volume to what you want to game at
VA_SetMasterVolume(100.0)

;Set x and y to the resolutions of your television
Run, "C:\Windows\qres.exe" /x:1920 /y:1080 /c:32

;Checks if Steam is running and open big picture mode accordingly
Process, Exist, Steam.exe
if ErrorLevel
Run, "steam://open/bigpicture"
else
Run, "C:\Program Files(x86)\Steam\Steam.exe" -bigpicture

;Waits for big picture mode to open
WinWait, Steam ahk_class CUIEngineWin32

;Waits for big picture mode to close
WinWaitClose, Steam ahk_class CUIEngineWin32

;Restore the old volume of the sound device
VA_SetMasterVolume(oldVol)

;Switch back to your primary sound device
Run, "C:\Windows\ssd.exe" 3

;Switch back to your primary display
Run, "Displayswitch.exe" /clone

;set x and y to the resolutions of your primary display
Run, "C:\Windows\qres.exe" /x:1920 /y:1080 /c:32
return

But ever since I switched to Windows 10, this script only works halfway. It will switch the audio outputs just fine, but it won't switch my displays.

I'm hoping someone here can help me out, or come up with a similar shortcut method. I've tried batch files and other adjustments, but I still haven't found a solution.
< >
Showing 1-1 of 1 comments
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Aug 12, 2015 @ 8:13pm
Posts: 1