User Guide
274 Chapter 15 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.
Properties
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 HomeSite+ for
Dreamweaver MX 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.