Jump to content
The simFlight Network Forums
Sign in to follow this  
Primesim

Ext.run command

Recommended Posts

Hey guys,

I'm trying to get a LUA script to run an external exe program, but it's not working and i'm pretty sure i'm doing something wrong with my extremely limited LUA capabilities.  The program is a simple bat file compiled in an EXE that when opened, runs it's few lines of code and closes automatically, so all I want to do is have a button mapped in FSUIPC that calls on this script that uses the ext.run command to run this file.

Lua script is as follows;

ext.run("c:\panel.exe")

I go into FSUIPC, press the button I want and select Lua Panel from the drop down and would guess that's it...but when pressing the button nothing happens.

What am I missing?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

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