Table of Contents

Previous

Next


Scripting Variables

The following table provides a summary of the available scripting variables.

 

Variable

Description

Scope

FileListName

Returns the name of the file that contains the list of source documents.

Document scripts only

FileListPath

Returns the path of the file that contains the list of source documents.

Document scripts only

GroupName

Returns the name of the documents group that is currently being processed.

Document scripts only

BuildAction

Returns whether the current build action is pre-build or post-build.

Job scripts, target scripts, and document scripts

JobDir

Returns the path of the job .waj file.

Job scripts, target scripts, and document scripts

JobFile

Returns the name of the job .waj file.

Job scripts, target scripts, and document scripts

JobName

Returns the name of the job.

Job scripts, target scripts, and document scripts

ProjectDir

Returns the path of the temporary project file that ePublisher AutoMap created for the job.

Job scripts, target scripts, and document scripts

ProjectFile

Returns the name of the temporary project file that ePublisher AutoMap created for the job.

Job scripts, target scripts, and document scripts

DeployFolder

Returns the deployment directory path.

Target scripts only

ErrorCount

Returns the number of errors reported during the generation process.

Target scripts only

TargetDeployKey

Returns the deployment target name.

Target scripts only

TargetName

Returns the name of the target being generated.

Target scripts only

TargetOutputDir

Returns the output path of the target.

Target scripts only

ePublisher/2009.2/Help/03.Preparing_and_Publishing_Content/4.31.Automating_Projects (last edited 2009-08-03 19:11:34 by TonyMcDow)