Jump to content
The simFlight Network Forums
Sign in to follow this  
Oliver Grützmann

FSUIPC5 / RunIf not recognizing running programs

Recommended Posts

Hi,

I've been using RunIf to start some programs in FSUIPC 4 and simply copied the [Programs] section over:

[Programs]
RunIf1=CLOSE,HIDE,"C:\Users\Olli\AppData\Local\vPilot\vPilot.exe -host -voice"
RunIf2="C:\Program Files (x86)\NaturalPoint\TrackIR5\TrackIR5.exe"
RunIf3=HIDE,"C:\Program Files (x86)\Landing Rate Monitor\LRM.exe"
RunIf4="C:\Program Files (x86)\Navigraph\Simlink\NavigraphSimlink.exe"

this worked well before, but in v5 those commands are executed on every start, no matter if the programs are running or not. TrackIR and NavigraphSimlink are not reacting to the CLOSE parameter (and I removed it), so they remain open and present me an angry "I'm already running!" message. 

Anything else I can do? I attatched my logfile in case it helps.

Oliver.

 

FSUIPC5.log

Share this post


Link to post
Share on other sites
On 8/28/2017 at 0:56 PM, Oliver Grützmann said:

this worked well before, but in v5 those commands are executed on every start, no matter if the programs are running or not.

Hmm. That's strange. The code is no different. I wonder if it is something to do with 64-bit versus 32-bit programs -- though that would be rather odd. I'll do some more testing here when I've caught up with the support backlog.

Pete

 

Share this post


Link to post
Share on other sites

I've found and fixed this problem. It was a 32 to 64 bit difference in the structures used to ennumerate running programs. It will be fixed in version 5.12, which I will probably be able to release later today, otherwse certainly by the weekend.

Incidentally, if a program won't CLOSE (and, yes, I know there are some like that), then the more ruthlss KILL option can be used. It's safe enough for most programs, assuming there are no settings to change. It's the same as using End Process in the Windows Task Manager.

Pete

 

  • Like 1

Share this post


Link to post
Share on other sites

Pete

Hope you had a wonderful vacation, it's great to have your continuing support

Just wanted to say thank you for the fix.  i use  Run and Runif a lot, it's a real timesaver when starting or ending a sim session. 

I have Installed and briefly tested version 5.12 ---- [Programs] RunIF is working normally  for me

best wishes 

Kevin

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×