Jump to content
The simFlight Network Forums

L:vars and Macro file


Recommended Posts

We've had great success with FSUIPC and found it very easy to use.

One feature we're trying to utilize now is accessing the L:vars from the aircraft model so we can interface the relevant switches.

We've looked through the Advanced User manual on the subject and cross checked with forums on creating a .mcro.txt file.

From what we understand when this file is copied over to the modules folder, we should be able to access those variables in one of the FSUIPC drop down menus.  Tried it multiple times and nothing shows in the drop down menu.

We have added LUA which show in the drop down menu; so don't know what we are doing wrong in this instance. 

Any thoughts or suggestion would be appreciated.

 

These are the steps we used:

1.      Identify the L:var variable by creating an Lvar log using FSUIPC.

2.      Create a new Text Document file:   1F111.mcro

4.      Open the file and add [Macros] in the first line.

5.      On the subsequent lines added the L:vars to be used: 

1    1=L:AP_FD=Toggle
2=L:AP_BANK=Toggle
3=L:AP_TRK_HDG=Toggle
4=L:AP_HDG=Toggle  etc....

6.      Save and copy the Macro file into the Modules folder – same directory with the FSUIPC4.dll

7.      Start FSX and Open FSUIPC

8.      Select the ‘Key Presses’ tab

9.      Check the ‘Profile Specific’ box.

1.  Press the ‘Set’ option

1.  Press the key we want to assign and scroll down the drop down menu to find the L:vars.  At this stage we can not locate any L:vars.

 

Link to comment
Share on other sites

Hi,

usually such issues are caused by the editor adding a .txt extension to the file name - check the file extension is correct, and if not then rename.

If thats not the issue, can you attach your FSUIPC4.ini file and your 1F111.mcro file. Any macro files found in your directory should be in your ini in a [MacroFiles] section.

John

 

Link to comment
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
×
×
  • 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.