PDA

View Full Version : trigger .cmd file with SIOC - is this possible?



markusr
03-05-2011, 11:53 AM
Hi,

I have a queation if this is possible with SIOC if not, maybe another programm could solve this for me.

If a certain FSUIPC offset is set to 1 an external .cmd file should be executed.
If it is 0 another .cmd file sould be executed on a machine.

Is this possible?
Maybe someone can help me with that.

Thanks alot,
Markus

fordgt40
03-05-2011, 12:05 PM
Markus

I should check out the Luala plug-in programme within the FSUIPC documentation. Might be possible that way

Regards

David

markusr
03-07-2011, 07:19 AM
Hello,

as I am not an expert in programming, I may ask for a helping hand here.
Does anyone has an idea how my problem can be resolved with LUA scripts or any other programming language and give me a helping hand?

The .cmd file should be executed on another PC running WideFS.

Any help is highly appreciated.
Thanks,
Markus

markusr
03-13-2011, 03:37 PM
Got it working now.
It's really simple. Once you know it ;-)
No LUA or other scripts are required - just FSUIPC and WideFS.
Thanks to Pete Downson for the help.

I have added the following lines to my wideclient.ini

RunKey5=path to the program to be executed on push of the button
RunKey6=path to the program to be executed on release of the button
KeySend5=Runkey5
KeySend6=Runkey6

In FSUIPC the option "Keysend 1-255 (WideFS)" was enabled to parameter 5 when pushed and 6 when released.

Working perfect :-)

fordgt40
03-13-2011, 04:51 PM
Markus

Thanks, good to know, I must really read the FSUIPC documentation more thoroughly:)

David