Automatically turn off programs when start another?

Anything and everything software related that doesn't fit above can go in here!
Post Reply
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Automatically turn off programs when start another?

Post by bigblockmatt »

Is there a way to have certain programs turn off (stop running) when another program is started?

Here's why i ask...There seems to be a conflict with my anti virus program and Battlefield 2(comp will restart after like 30 secs of playing). so i have to turn the antivirus program off before i start BF2. of course sometimes i forget and the comp restarts on me. Also, i dont want folding running when i am playing.

so, if there is a way to automatically have stuff turned off when i start BF2, that would be great.
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
T-Shirt
Legit Extremist
Legit Extremist
Posts: 589
Joined: Wed May 05, 2004 3:27 pm
Location: Snohomish, WA USA

Re: Automatically turn off programs when start another?

Post by T-Shirt »

bigblockmatt wrote:Is there a way to have certain programs turn off (stop running) when another program is started?

Here's why i ask...There seems to be a conflict with my anti virus program and Battlefield 2(comp will restart after like 30 secs of playing). so i have to turn the antivirus program off before i start BF2. of course sometimes i forget and the comp restarts on me. Also, i dont want folding running when i am playing.

so, if there is a way to automatically have stuff turned off when i start BF2, that would be great.
You could write a macro to do that and make the icon run it for the start up BF2.
But turning off your AV isn't hard to do manually, and auto off seem like it might be high risk.
Have you checked the BF2 and/or AV website for a patch to fix it?
User avatar
dicecca112
Site Admin
Site Admin
Posts: 5014
Joined: Mon Mar 01, 2004 10:40 am
Contact:

Post by dicecca112 »

The folding script is easy. But you have to remember to shut off and then turn it back on.

But a note before I show you the script. F@H will automatically scale back and give BF2 or whatever needs the CPU all it needs. F@H only uses the idle clocks, so this is really superfluous ( not necesssary)

but anyway

open Notepad

and copy the following into notepad

Code: Select all

sc stop FAH
sc stop FAH1
sc stop FAH2
name it stop_FAH.bat

clear notepad

copy the following into notepad

Code: Select all

sc start FAH
sc start FAH1
sc start FAH2
name it start_FAH.bat

put shortcuts on the desktop and just doubleclick em.

And matt don't forget to turn folding back on, because I'm coming for you :axe:
Image
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Post by bigblockmatt »

hmm... thanks for that info. i guess your right in that i dont really have to turn folding off... I guess the main one is the antivirus program. Im not 100% sure that is the problem, but it seems to be true thus far. ooh well, i was just wondering if there was a simple way to do it. Thanks!
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
User avatar
dicecca112
Site Admin
Site Admin
Posts: 5014
Joined: Mon Mar 01, 2004 10:40 am
Contact:

Post by dicecca112 »

I'd tend to suspect a power problem over it being the AV. When your gaming your putting a huge load on the system. I would tend to think the PSU is suspect over the AV.
Image
Post Reply