A Way To Quick Toggle Between Extended/Duplicate and 3D Enabled/Disabled?
  3 / 3    
convoluted but seems to have worked!! http://www.7tutorials.com/how-pin-special-windows-shortcuts-taskbar
convoluted but seems to have worked!! http://www.7tutorials.com/how-pin-special-windows-shortcuts-taskbar

#31
Posted 03/21/2013 06:24 PM   
Do you know a way to automatically minimize the command window when Steam starts? ;)
Do you know a way to automatically minimize the command window when Steam starts? ;)

#32
Posted 03/21/2013 06:49 PM   
Everything I find on it points to either needing another bat file to run the bat file /min, which seems like it's getting out of control, bat files to run bat files. Although if you are using shortcuts you can right-click on the shortcut and select properties and on the shortcut tab there's a section called Run: in that box you can choose minimized.
Everything I find on it points to either needing another bat file to run the bat file /min, which seems like it's getting out of control, bat files to run bat files. Although if you are using shortcuts you can right-click on the shortcut and select properties and on the shortcut tab there's a section called Run: in that box you can choose minimized.
#33
Posted 03/21/2013 08:37 PM   
What have you gotten me into man!? :D Here's a script I've been working on, it's most likely crude to anyone who knows what they're doing but oh well I made it without any prior knowledge. :P What it does is prompt you with all the display options, extended, duplicated, etc. then it asks if you want to enable 3D Vision, and finally asks if it should remain open. You know so you can change back afterwards. Copy and paste into notepad and save as a .bat: edit: Just noticed I copied the :: commented out version ... it'll be in the next post because I can't edit this post ...
What have you gotten me into man!? :D

Here's a script I've been working on, it's most likely crude to anyone who knows what they're doing but oh well I made it without any prior knowledge. :P

What it does is prompt you with all the display options, extended, duplicated, etc. then it asks if you want to enable 3D Vision, and finally asks if it should remain open. You know so you can change back afterwards.

Copy and paste into notepad and save as a .bat:

edit: Just noticed I copied the :: commented out version ... it'll be in the next post because I can't edit this post ...
#34
Posted 03/21/2013 08:43 PM   
Copy and paste into notepad and save as a .bat: @ECHO OFF :BEGIN CLS ECHO. ECHO CHOOSE DISPLAY MODE: ECHO. ECHO 1) EXTEND DISPLAY ECHO 2) EXTERNAL DISPLAY ECHO 3) INTERNAL DISPLAY ECHO 4) DUPLICATE DISPLAY ECHO. SET /P D=CHOOSE 1-4 AND PRESS ENTER: IF %D%==1 GOTO EXTEND IF %D%==2 GOTO EXTERNAL IF %D%==3 GOTO INTERNAL IF %D%==4 GOTO DUPLICATE GOTO BEGIN :EXTEND ECHO. set /p answer=ENABLE 3D VISION (Y/N)? if /i "%answer%"=="Y" GOTO EXTEND3 if /i "%answer%"=="N" GOTO EXTEND2 GOTO EXTEND :EXTEND2 ECHO. set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO EXTEND2O if /i "%answer%"=="N" GOTO EXTEND2C GOTO EXTEND2 :EXTEND2O DisplaySwitch.exe /extend "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO BEGIN :EXTEND2C DisplaySwitch.exe /extend "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO DONE :EXTEND3 set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO EXTEND3O if /i "%answer%"=="N" GOTO EXTEND3C :EXTEND3O DisplaySwitch.exe /extend "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO BEGIN :EXTEND3C DisplaySwitch.exe /extend "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO DONE :EXTERNAL ECHO. set /p answer=ENABLE 3D VISION (Y/N)? if /i "%answer%"=="Y" GOTO EXTERNAL3 if /i "%answer%"=="N" GOTO EXTERNAL2 GOTO EXTERNAL :EXTERNAL2 ECHO. set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO EXTERNAL2O if /i "%answer%"=="N" GOTO EXTERNAL2C GOTO EXTERNAL2 :EXTERNAL2O DisplaySwitch.exe /EXTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO BEGIN :EXTERNAL2C DisplaySwitch.exe /EXTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO DONE :EXTERNAL3 set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO EXTERNAL3O if /i "%answer%"=="N" GOTO EXTERNAL3C :EXTERNAL3O DisplaySwitch.exe /EXTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO BEGIN :EXTERNAL3C DisplaySwitch.exe /EXTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO DONE :INTERNAL ECHO. set /p answer=ENABLE 3D VISION (Y/N)? if /i "%answer%"=="Y" GOTO INTERNAL3 if /i "%answer%"=="N" GOTO INTERNAL2 GOTO INTERNAL :INTERNAL2 ECHO. set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO INTERNAL2O if /i "%answer%"=="N" GOTO INTERNAL2C GOTO INTERNAL2 :INTERNAL2O DisplaySwitch.exe /INTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO BEGIN :INTERNAL2C DisplaySwitch.exe /INTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO DONE :INTERNAL3 set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO INTERNAL3O if /i "%answer%"=="N" GOTO INTERNAL3C :INTERNAL3O DisplaySwitch.exe /INTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO BEGIN :INTERNAL3C DisplaySwitch.exe /INTERNAL "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO DONE :DUPLICATE ECHO. set /p answer=ENABLE 3D VISION (Y/N)? if /i "%answer%"=="Y" GOTO DUPLICATE3 if /i "%answer%"=="N" GOTO DUPLICATE2 GOTO DUPLICATE :DUPLICATE2 ECHO. set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO DUPLICATE2O if /i "%answer%"=="N" GOTO DUPLICATE2C GOTO DUPLICATE2 :DUPLICATE2O DisplaySwitch.exe /DUPLICATE "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO BEGIN :DUPLICATE2C DisplaySwitch.exe /DUPLICATE "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable GOTO DONE :DUPLICATE3 set /p answer=REMAIN OPEN? (Y/N)? if /i "%answer%"=="Y" GOTO DUPLICATE3O if /i "%answer%"=="N" GOTO DUPLICATE3C :DUPLICATE3O DisplaySwitch.exe /DUPLICATE "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO BEGIN :DUPLICATE3C DisplaySwitch.exe /DUPLICATE "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable GOTO DONE :DONE exit
Copy and paste into notepad and save as a .bat:

@ECHO OFF
:BEGIN
CLS
ECHO.
ECHO CHOOSE DISPLAY MODE:
ECHO.
ECHO 1) EXTEND DISPLAY
ECHO 2) EXTERNAL DISPLAY
ECHO 3) INTERNAL DISPLAY
ECHO 4) DUPLICATE DISPLAY
ECHO.

SET /P D=CHOOSE 1-4 AND PRESS ENTER:
IF %D%==1 GOTO EXTEND
IF %D%==2 GOTO EXTERNAL
IF %D%==3 GOTO INTERNAL
IF %D%==4 GOTO DUPLICATE
GOTO BEGIN

:EXTEND
ECHO.
set /p answer=ENABLE 3D VISION (Y/N)?
if /i "%answer%"=="Y" GOTO EXTEND3
if /i "%answer%"=="N" GOTO EXTEND2
GOTO EXTEND

:EXTEND2
ECHO.
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO EXTEND2O
if /i "%answer%"=="N" GOTO EXTEND2C
GOTO EXTEND2

:EXTEND2O
DisplaySwitch.exe /extend
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO BEGIN

:EXTEND2C
DisplaySwitch.exe /extend
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO DONE

:EXTEND3
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO EXTEND3O
if /i "%answer%"=="N" GOTO EXTEND3C

:EXTEND3O
DisplaySwitch.exe /extend
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO BEGIN

:EXTEND3C
DisplaySwitch.exe /extend
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO DONE

:EXTERNAL
ECHO.
set /p answer=ENABLE 3D VISION (Y/N)?
if /i "%answer%"=="Y" GOTO EXTERNAL3
if /i "%answer%"=="N" GOTO EXTERNAL2
GOTO EXTERNAL

:EXTERNAL2
ECHO.
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO EXTERNAL2O
if /i "%answer%"=="N" GOTO EXTERNAL2C
GOTO EXTERNAL2

:EXTERNAL2O
DisplaySwitch.exe /EXTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO BEGIN

:EXTERNAL2C
DisplaySwitch.exe /EXTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO DONE

:EXTERNAL3
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO EXTERNAL3O
if /i "%answer%"=="N" GOTO EXTERNAL3C

:EXTERNAL3O
DisplaySwitch.exe /EXTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO BEGIN

:EXTERNAL3C
DisplaySwitch.exe /EXTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO DONE

:INTERNAL
ECHO.
set /p answer=ENABLE 3D VISION (Y/N)?
if /i "%answer%"=="Y" GOTO INTERNAL3
if /i "%answer%"=="N" GOTO INTERNAL2
GOTO INTERNAL

:INTERNAL2
ECHO.
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO INTERNAL2O
if /i "%answer%"=="N" GOTO INTERNAL2C
GOTO INTERNAL2

:INTERNAL2O
DisplaySwitch.exe /INTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO BEGIN

:INTERNAL2C
DisplaySwitch.exe /INTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO DONE

:INTERNAL3
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO INTERNAL3O
if /i "%answer%"=="N" GOTO INTERNAL3C

:INTERNAL3O
DisplaySwitch.exe /INTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO BEGIN

:INTERNAL3C
DisplaySwitch.exe /INTERNAL
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO DONE

:DUPLICATE
ECHO.
set /p answer=ENABLE 3D VISION (Y/N)?
if /i "%answer%"=="Y" GOTO DUPLICATE3
if /i "%answer%"=="N" GOTO DUPLICATE2
GOTO DUPLICATE

:DUPLICATE2
ECHO.
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO DUPLICATE2O
if /i "%answer%"=="N" GOTO DUPLICATE2C
GOTO DUPLICATE2

:DUPLICATE2O
DisplaySwitch.exe /DUPLICATE
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO BEGIN

:DUPLICATE2C
DisplaySwitch.exe /DUPLICATE
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO DONE

:DUPLICATE3
set /p answer=REMAIN OPEN? (Y/N)?
if /i "%answer%"=="Y" GOTO DUPLICATE3O
if /i "%answer%"=="N" GOTO DUPLICATE3C

:DUPLICATE3O
DisplaySwitch.exe /DUPLICATE
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO BEGIN

:DUPLICATE3C
DisplaySwitch.exe /DUPLICATE
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
GOTO DONE

:DONE
exit
#35
Posted 03/21/2013 10:52 PM   
[quote="TsaebehT"]Everything I find on it points to either needing another bat file to run the bat file /min, which seems like it's getting out of control, bat files to run bat files. Although if you are using shortcuts you can right-click on the shortcut and select properties and on the shortcut tab there's a section called Run: in that box you can choose minimized.[/quote] Tried running in minimised before, but also minimises Steam - it's alright, not a big deal, just seeing how far I can push you ;p nah awesome script, i'm sure the community will find it really handy, definitely needs to be stickied!
TsaebehT said:Everything I find on it points to either needing another bat file to run the bat file /min, which seems like it's getting out of control, bat files to run bat files. Although if you are using shortcuts you can right-click on the shortcut and select properties and on the shortcut tab there's a section called Run: in that box you can choose minimized.

Tried running in minimised before, but also minimises Steam - it's alright, not a big deal, just seeing how far I can push you ;p nah awesome script, i'm sure the community will find it really handy, definitely needs to be stickied!

#36
Posted 03/22/2013 12:16 AM   
I'll tell you what would genuinely be handy to add to the scripts if you have any idea - changing the refresh rate from 24hz for 3D mode to 60hz for 3D off
I'll tell you what would genuinely be handy to add to the scripts if you have any idea - changing the refresh rate from 24hz for 3D mode to 60hz for 3D off

#37
Posted 03/22/2013 12:24 AM   
I couldn't find anything about changing resolution/refresh rate from a bat file. I'll keep looking though. Maybe another app might do it, I think I saw something about [s]multimon[/s]. If its possible to use a prompt to change res/ref with that it could all be added to the bat file. For the minimized command prompt, you could try making another bat file that starts it minimized, but it might do the same exact thing as the shortcut, ie. minimize both. It'd go like this: start /min batsname.bat edit: This app looks like it might do the trick but I've never used it. [url]http://12noon.com/?page_id=80[/url] edit: This one works nicely too QRes [url]http://sourceforge.net/projects/qres/[/url] and it's tiny, free, and scriptable.
I couldn't find anything about changing resolution/refresh rate from a bat file. I'll keep looking though. Maybe another app might do it, I think I saw something about multimon. If its possible to use a prompt to change res/ref with that it could all be added to the bat file.

For the minimized command prompt, you could try making another bat file that starts it minimized, but it might do the same exact thing as the shortcut, ie. minimize both.

It'd go like this:

start /min batsname.bat

edit: This app looks like it might do the trick but I've never used it. http://12noon.com/?page_id=80

edit: This one works nicely too QRes http://sourceforge.net/projects/qres/ and it's tiny, free, and scriptable.
#38
Posted 03/22/2013 11:13 AM   
Any chance of some sort of bat file to switch between sorround and three seperate monitors?
Any chance of some sort of bat file to switch between sorround and three seperate monitors?

#39
Posted 01/10/2014 09:56 AM   
  3 / 3    
Scroll To Top