2.14.9 MkOPX

Brief Information

Make an OPX file from ini settings.

Additional Information

Minimum Origin Version Required: 2019b SR0

Command Line Usage

mkOPX ini:="C:\Users\jacqueline\Documents\OriginLab\User Files\CustomColors.ini" app:=Custom_Colors opx:=H:\CustomColors.opx;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
To Do act

Input

int

0
Specify to make OPX or package.

Option List:

  • 0=opx
Make OPX.(You can find opx in the UFF.)
  • 1=ini
Make package.ini. (Package.ini file in the App's folder will be updated.)
Int File Name ini

Input

string

<unassigned>
Name of ini file to read settings from. If specified then app variable is ignored.
App Name app

Input

string

<unassigned>
Name of an existing app. The app's folder must contain a package.ini to read settings from.The app variable is only used if the ini variable is blank.
OPX File Name opx

Input

string

<unassigned>
Name of the destination OPX file.


Optional:
If specified then the OPX file name in the ini file is ignored.
If not specified and the ini file does not contain an OPX file name then the package name is used and the destination path will be the UFF.