elpacco Grandmaster Cheater Supreme
Reputation: 30
Joined: 16 Oct 2007 Posts: 1267
|
Posted: Tue Nov 24, 2009 2:32 pm Post subject: Batch command to disable non-primary monitors? |
|
|
I'm currently on a dual monitor setup. I usually keep the same programs running in my non-primary monitor, MSN, xchat, and taskmanager. I created a batch file to quickly exit all three of these (plus displayfusion that I use to use two different wallpapers and to use a taskbar on the other monitor) like this:
Code: | @echo off
if exist /im opera.exe GOTO opera
if exist /im msnmsgr.exe GOTO msn
if exist /im xchat.exe GOTO xchat
if exist /im taskmgr.exe GOTO taskmanager
if exist /im DisplayFusion.exe GOTO displayfusion
:opera:
taskkill /im opera.exe
:msn:
taskkill /im msnmsgr.exe
:xchat:
taskkill /im xchat.exe
:taskmanager:
taskkill /im taskmgr.exe
:displayfusion:
taskkill /im DisplayFusion.exe |
Now I use this so that I can quickly exit these applications and then jump right into a game. I also use a shortcut through Catalyst Control Center to disable non-primary monitors, but in order for this to work, I have to have CCC running all the time, and sometimes i have to do it more than once in order for it to work. Now is there a batch command I can use that will do this? And also, is there one that can detect if only one is running, and then re-enable it and start all those applications up again?
_________________
[AM]Misery wrote: |
FangBanger wrote: | What is the best way for a lv19 Soldier to solo Sledge on Borderlands? | Shoot him. |
|
|