User Guide
248 Chapter 14 Scripting the Visual Tools Object Model
RemoveFolder
Syntax RemoveFolder(FolderName: OleVariant);
Description Removes a folder from the project.
Save
Syntax Save;
Description Saves the current project to disk in WDDX format.
SelectFile
Syntax SelectFile(Filename: OleVariant);
Description Selects a file for source control operations.
Folder methods
FolderAddFile
Syntax FolderAddFile(Folder: OleVariant; Filename: OleVariant);
Description Add a file to the specified folder.
FolderAllFiles
Syntax FolderAllFiles(Folder: OleVariant): OleVariant;
Description Lists all files within the specified project.
FolderChangeType
Syntax FolderChangeType(Folder: OleVariant; FolderType: TFolderType);
Description Changes the folder type.
FolderContainsFile
Syntax FolderContainsFile(Folder: OleVariant; Filename: OleVariant): WordBool;
Description Boolean. Determines if a file is contained within a project folder.