User Guide
246 Chapter 14 Scripting the Visual Tools Object Model
ProjectManager Object
The ProjectManager object provides extensive and granular scripting capabilities.
This section groups the
PropertyManager methods by function.
FileCount
Syntax FileCount: Integer (read-only)
Description The number of files in the project.
IsDirty
Syntax IsDirty: WordBool (read-only)
Description Boolean. Differences exist between the project as viewed in the Visual Tools and the
underlying disk structure.
IsFileSelected
Syntax IsFileSelected: WordBool (read-only)
Description Boolean. Selects the file in the project.
Path
Syntax Path: OleVariant (read-only)
Description Default project path.
SelectedFile
Syntax SelectedFile: OleVariant (read-write)
Description Gets and sets variant property.
Methods
AddFile
Syntax AddFile(Filename: OleVariant);
Description Adds a file to the project.