Jump to content
The simFlight Network Forums

Recommended Posts

Posted
Hi Pete,
 
I run external programs on my client pc´s via key input and the RunKey option in wideclient.ini.
Now I want also start an external program on my server pc via the RunKey option in the wideserver section of fsuipc4.ini.
But it seems that fsuipc4.ini don't support the RunKey option?!
I hope I´m wrong and you can help me.
 
Many thanks.
 
Alex

 

 

Posted

I run external programs on my client pc´s via key input and the RunKey option in wideclient.ini.

Now I want also start an external program on my server pc via the RunKey option in the wideserver section of fsuipc4.ini.
But it seems that fsuipc4.ini don't support the RunKey option?!

 

There's no RunKey option in FSUIPC, it is purely a WideClient facilty. You can do what you want and more using the Lua plug-in facilities. Checkout the ext library, and in particular, ext.run, ext.shell and ext.runif functions. Jun a one line plug-in assigned to your button or key will do the job.

 

Pete

Posted

thanks for your support and hint. I will deal now with the lua script language.

 

Well, you don't really need much of the language itself. Just one line with

 

ext.run("pathname for program to be run")

 

or, if it needs parameters

 

ext.run("pathname for program to be run", "command-line parameters")

 

Pete

 

 

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.