Hi Old Crow, I think the Hotkey option certainly is promising and could do what you want.
I've managed to get about halfway there using just the hotkey, without a .bat file running within the hotkey script.
For example,
after installing the hotkey proggy Clive mentions above in the thread, I put in a new hotkey onto the desktop containing
"#M::Edit C:\Documents and Settings\David\Application Data\Microsoft\Combat Flight Simulator 3.0\Missions\_mission.xml"
This creates windows+M as a hotkey that opens the _mission.xml file for editing. The trick is to do it once you've gone to the campaign briefing screen after selecting the desired campaign mission.
So once the hotkey is set up, open an existing or new campaign, select a campaign mission (eg. "anti_ship" which is pretty much default in stock campaign). Then go through to the Briefing screen.
Then hit Windows +M. Then you have to go out of the CFS3 window by going Alt+tab. As explained earlier, this is sometimes problematic and is easier on multi core PCs. Anyway if you do get out of the cfs3 window, you will find the _mission.xml file open before you.
To achieve OldCrow's starting the campaign mission in flight, the key waypoint parameters to edit are (for the player flight, not the bomber flight):
<Waypoint
Type="turn" Speed="88" IsWarpable="y" IsVisible="y" Lat="N52*37'51.8011"" Lon="E0*54'33.6649""
Alt="500.00"/>
The default parameters were type="takeoff", speed="0" and alt="0". Once the _mission.xml file is saved (it does not need to be closed) you can simply select the CFS3 window with your mouse and go fly your mission. You should start with your formation, at 500 feet above the runway.
Actually I haven't tested it, what I've been trying to do is run a script change for the skill="1" parameter. Thus far I've got thehotkey to open the xml file, but no go sequentially through the keystrokes to find and replace text.
But even simply opening the _mission.xml file using a hotkey is a great start and allows easy tweaking of campaign missions before the sortie
If there's any interest I can upload more detailed instructions. It would be great if someone knew how to further edit script within the hotkey command once the xml file is opened, so its all done with Windows +M. My attempt (which doesn't work) is tacked onto the above script and goes:
"send {^h} skill="1", {tab} skill="3", {tab 4} {enter} {^s}
exitapp"
Anyone see where I've gone wrong? The foregoing sequence seeks to open the Find and Replace window in notepad, and enter the parameters to be found and replaced (in this case skill=1), then the file saved and exited.
D