Command line publishing

The program supports command line publishing. This enables you to use a command line invocation of the program to publish to the standard publishing formats that the program supports. A benefit of this feature is that a third-party application can issue the batch command to publish without having to go through the interface to publish the title.

This is an advanced feature and should only be used if you are familiar with command line programming.

If there are special parameters that you want to use when publishing using the command line interface, you must first publish the title using the program and select those options. The command line publishing interface will use the most-recent options that have been specified within the program.

To invoke command line publishing, open an MS-DOS command prompt, and enter the following:

Lectora [/p[option]] [/c] [/o log] title

/p[option]

Publish the title to the necessary format, where option is one of the following:

SFX

Single File Executable

HTML

HTML

AICC

AICC/Web-based

SCORM

SCORM/Web-based

XAPI Experience API (xAPI)

/c

Create a console window for messages

/o log

Optional log file (log) to capture publishing messages

title

The full path to the title that you wish to publish

If you have any of the optional publishing packs installed with the program, you can use the abbreviated name for the publishing option to publish. Also, be sure to surround the whole path with quotation marks if the file path includes spaces in the name.

For example, you would specify the following to publish the title The Human Eye.awt to HTML with a console window and logfile, assuming it was downloaded to the default titles directory:

lectora /pHTML /c /o C:\output.txt "C:\Users\<yourname>\Documents\My Titles\The Human Eye\The Human Eye.awt"

Knowledge Base | Training | Support
© Copyright eLearning Brothers 2021