How to Set up Input File Runner in Common Editors


  
 Applies To 
  
 Product(s):Bentley MXROAD
 Version(s):08.11.09.493, 08.11.09.674, 08.11.09.722
 Environment: Standalone
 Area: MX Tools
 Subarea: Input File Runner
 Original Author:Jason Walsh, Bentley Technical Support Group
  

 

 

 

 

 

 

 

Background

Input files can be ran directly from the Editor into MX using the application bnlxInpRunOnce.exe provided as part of the MX Tools Add-ins. MX Tools v8i version 08.11.09.493 is the version to install for MX v8i SS3.

This wiki runs through how to set this application up for Common Editors to run the input file into MX v8i SS3.

Programmer's File Editor

Go to Execute>Launch Application

  

Set up as below.

Command: C:\Program Files (x86)\Bentley\MX V8i (SELECTSeries3)\MX\MFW\Exec\bnlxInpRunOnce.exe %u\%d%s%f

Directory: C:\Program Files (x86)\Bentley\MX V8i (SELECTSeries3)\MX\MFW\Exec

The variable %u\%d%s%f will run the currently open file into the Input file runner.

Run by selecting the “Launch Application” icon or pressing Shift+F11.

PSPad Editor

Go to Settings>Highlighter Settings and browse to the External Applications Tab

Set up as below.

Application: "C:\Program Files (x86)\Bentley\MX V8i (SELECTSeries 3)\MX\MFW\Exec\bnlxInpRunOnce.exe" "%File%"

The variable “%File%” will run the currently open file into the Input file runner. This is something which PSPad should add automatically when you browse to the application.

Run by selecting the “external applications” icon or pressing F9.

UltraEdit Editor

Go to Advanced>Run Windows Program.

Set up as below.

Command: C:\Program Files (x86)\Bentley\MX V8i (SELECTSeries 3)\MX\MFW\Exec\bnlxInpRunOnce.exe %f

Working Directory: C:\Program Files (x86)\Bentley\MX V8i (SELECTSeries 3)\MX\MFW\Exec

The variable %f will run the currently open file into the Input file runner.

Run by pressing F10. 

Notepad++ Editor

Go to Run>Run.

Set up the path as below.

"C:\Program Files (x86)\Bentley\MX V8i (SELECTSeries 3)\MX\MFW\Exec\bnlxInpRunOnce.exe" "$(FULL_CURRENT_PATH)"

The variable "$(FULL_CURRENT_PATH)" will run the currently open file into the Input file runner.

Select Save to set up a shortcut to run the input file runner.

Run by selecting Input file Runner from the Run Menu.


 

See Also

MX Support Clips, TechNotes & FAQs