Windows Powershell script to launch BMS components
-
Hi folks,
as I’m setting up my “cockpit” using various components and applications, I’ve noted that starting up all the stuff required for BMS takes a surprising amount of time, so I decided to automate it using a windows powershell script.
Being a native Unix guy (no beard though ;)), I went for the scripting approach. This script does the following:
-
launch mfd extractor
-
launch voice attack
-
launch AndroidMFDServer
-
launch FaceTrackNoIR
-
Fire up the cougar control panel, retrieve current settings, apply current settings, exit (uses Mouse Recorder.exe); this is required on my system to get the microstick to work on the cougar.
-
Start up the BMS Launcher
You’ll have to change the script to reflect your system setup (path names and so on), but I thought it might be a good starting point for others who face the same issue, so maybe you’ll find it useful as a starting point for delving into scripting (be it on Unix or windows ;))
Some more stuff could be added, like recording a mouse recorder script to launch bms from the launcher or whatever, but that’s probably an issue that should be automated.
Also, I’ve not included my mouserecorder script as it’d be rather useless for you as you probably don’t have the microstick issue on your system, and if you have, you’ll probably use a different way of launching the CCP.
All the best, Uwe
echo "cougar init" cd F:\tools\autohotkey .\mouse_recorder.exe .\hotas_cougar_retrieve_apply.smr echo "Starting mfd extractor" F:\tools\bms_extractor\MFDExtractor.exe sleep 1 echo "Starting Voice Attack.." E:\tools\voice_attack\VoiceAttack.exe sleep 1 echo "Starting FTNoIR..." cd "C:\Program Files (x86)\Abbequerque Inc\FaceTrackNoIR" .\FaceTrackNoIR.exe sleep 1 echo "starting mfd server" E:\tools\bms_mfd_server\falconmfdserver.exe sleep 1 echo "Starting Falcon BMS" cd "E:\bms_u7" .\Launcher.exe -window
-
-
Cool idea and my thanks, too bad I don’t use most of that hardware.