PDA

View Full Version : FOF Batchfiles for multiple leagues


KWhit
02-07-2005, 04:26 PM
I have created batchfiles for my multi-player leagues to move the appropriate files back and forth and open the game thanks to 3ric and others.

The method is detailed here:

http://dynamic2.gamespy.com/~fof/forums/showpost.php?p=345892&postcount=51

I have also customized the window sizes and positions using reshacker so I don't have to move and resize everything.

But... Can I automate the process even more? (Yeah I know, I'm never satisfied).

What I would like to do next is to have a process to maximize FOF, open the appropriate league for me, and then open all the FOF windows. Is there any way to do this? I move back and forth between leagues a TON every day and would love it if I could avoid having to click about 10 times or more every time I do it.

My guess is that it can't be done because I don't know if batch files can control functionality inside the FOF application, but I'm not sure. What about a keystroke macro of some sort????

Anybody out there who is more computer savvy than I am want to chime in on the possibilties of this? If you give me some direction I'll be happy to experiment to get it to work and then share it with everyone, but I don't really know how to start.

Franklinnoble
02-07-2005, 04:51 PM
It would be sweet if this were built-in to FOF. I don't know if it'd be possible or not, but Jim is probably well aware of these work-arounds that people are using.

QuikSand
02-07-2005, 05:04 PM
What I would like to do next is to have a process to maximize FOF, open the appropriate league for me, and then open all the FOF windows. Is there any way to do this? I move back and forth between leagues a TON every day and would love it if I could avoid having to click about 10 times or more every time I do it.

I could dig that, too. I doubt it can be done, but it would be awfully nice, yes.

gstelmack
02-07-2005, 05:06 PM
Sure it can. It's just a regular Windows UI, meaning you just have to simulate the clicks (much like Extractor does to advance through the players/scouts/coaches). Only thing I'm not sure of is actually opening the correct league. Have to interrogate the control for what values are in there so you pick the correct one. Hmmmmmmmmmmmmmmmm..........

KWhit
02-07-2005, 08:16 PM
Well I decided to dive in and work on this and I have it working pretty well.

I downloaded a macro program that lets you set up 10 keystroke/mouse macros for free.

Basically I set it up so that if I press cntl and enter at the same time, my batch file runs that sets up my IHOF files, FOF is then opened and maximized, the multiplayer window is opened, my IHOF league is opened, and then each of the other FOF windows opened.

Here's the macro editor I used:

http://www.download.com/KeyText-2000/3000-2384_4-10188714.html?tag=lst-0-1

It took some trial and error to get it going and I'm still trying to tweak it (right now it only works if all my other windows are minimized), but it is definitely a cool thing.

I'll post more details later (I can post the entire script I'm using once I get it perfect) if people are interested.