I want to be able to run and exit certain programs when I change display profiles. Is this possible?
I see, in the profile manager, you can also run a certain program or shortcut. So that solves the run problem, but how do i make a file that will exit a program? I'm guessing something to do with a .bat file... but i have no clue where to start with that.
I basically want to be able to run desktop enhancement progs like rainmeter, objectdock, and johns background switcher, but I want these programs to close when I'm in my eyefinity display profile. The reason being, some games don't play nice with these programs leading to crashes, errors, or corruption. Its not fun :/
TL;DR
How do you make a shortcut close a program?
Edit:
So i did like 5 mins of searching google and found my answer... derp ><
In case anyone wants to know, you can create a .bat file with this script:
Code:
@echo off
TSKILL BackgroundSwitcher /A
tskill rainmeter /a
tskill gmailnotifierplus /a
This will kill all open instances of those programs.
To open them use something like this:
Code:
@echo off
@echo off
start "" "C:Program Files (x86)johnsadventures.comJohn's Background SwitcherBackgroundSwitcher.exe"
start "" "C:Program FilesRainmeterRainmeter.exe"
start "" "C:UsersAdamDocumentsProgramsgmailnotifierplus.exe"
You put these scripts into something like notepad, save as .bat, and point the profile manager to launch this at switch.