Go Back   Tactical Gamer > General Forums > Hardware & Software Discussion

Hardware & Software Discussion Hardware and Software discussion and troubleshooting. Tweakers and Overclockers welcome!
Don't forget to check out our Video Production sub-forum!

Reply
 
Thread Tools
Old 07-03-2009, 01:02 PM   #1 (permalink)

 
Mediator's Avatar
 
Join Date: Jun 2008
Location: Dallas Texas
Age: 42
Posts: 850
Tournaments Joined: 0
Tournaments Won: 0
Programming to auto load multiple programs

How would you make a mini program to load multiple programs at once? For instance there are 2 admin tools I would like to load prior to loading into a game. I would like to be able to click on one icon and have both tools load. Can that be done with say a batch file? I have already made a batch file for AA3, made a short cut for my desktop and all I have to do is click that to load the game and it automatically deletes certain temp files that cause the game to crash.

Now I just want to do something like this but for multiple games.
__________________
"The mind stretched to a new concept can never return to it's orginal dimension"

The Mediator






Mediator is offline   Reply With Quote
Old 07-03-2009, 01:20 PM   #2 (permalink)

 
Mediator's Avatar
 
Join Date: Jun 2008
Location: Dallas Texas
Age: 42
Posts: 850
Tournaments Joined: 0
Tournaments Won: 0
Re: Programming to auto load multiple programs

I figured out how to do this with a batch file and will post back here shortly once I have the command lines properly set up. I'm playing around with it now.
__________________
"The mind stretched to a new concept can never return to it's orginal dimension"

The Mediator






Mediator is offline   Reply With Quote
Old 07-03-2009, 01:59 PM   #3 (permalink)
 
ScratchMonkey's Avatar
 
Join Date: Aug 2005
Location: San Pablo, California
Age: 49
Posts: 6,701
Tournaments Joined: 0
Tournaments Won: 0
Re: Programming to auto load multiple programs

Check out the "start" command. It can be used to launch a program and then continue with the next batch command.

It's a bit tricky because you might want to wait for the program to do something before you launch the next program. Without some coordination between the programs, you may have to resort to delays between "start" commands, and that can break depending on what load is currently on your system, because the load might make the first program start too slow, or allow the second program to start too fast.
__________________
snooggums' density principal: "The more dense a population, the more dense a population."

Iliana: "You're a great friend but if we're ever chased by zombies I'm tripping you."
ScratchMonkey is offline   Reply With Quote
Old 07-03-2009, 03:04 PM   #4 (permalink)
 
TG_JBRanger's Avatar
 
Join Date: Aug 2004
Location: Atl, GA
Age: 30
Posts: 724
Tournaments Joined: 0
Tournaments Won: 0
Re: Programming to auto load multiple programs

Little overkill but autohotkey can do this.

http://www.autohotkey.com/
__________________

In the pursuit of... something.
TG_JBRanger is offline   Reply With Quote
Old 07-03-2009, 04:54 PM   #5 (permalink)

 
Mediator's Avatar
 
Join Date: Jun 2008
Location: Dallas Texas
Age: 42
Posts: 850
Tournaments Joined: 0
Tournaments Won: 0
Re: Programming to auto load multiple programs

I have this all set now using the start command in a batch file.... I didn't realize this was so easy but with a little research I found the right commands and overcame some errors I was getting. I will post the solution in another post.

Scratch you are exactly right..... I'm still trying figure out how to set a delay in seconds between the programs but fortunately I don't have to worry about these 3 programs loading all at once as I still have to allow them one at a time with my UAC turned on in Vista.

Ranger I will check your link out later when I get a chance.... thanks guys!
__________________
"The mind stretched to a new concept can never return to it's orginal dimension"

The Mediator






Mediator is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement



All times are GMT -4. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved