AddFile

Top  Previous  Next

Adds a file to the compiled HTML project file's [FILES] section.

 

Syntax:

procedure AddFile(FileName: string);

 

Description:

Another way to add files to the compiled HTML project is to use the AddFilesFromList method.

 

Example:

 

scripting_tchmprojectfile_addfile

 

The above script will create the following compiled HTML project file.

 

scripting_tchmprojectfile_addfile02