User Guide
302 Chapter 15 Scripting the Visual Tools Object Model
FileIsHidden
Syntax FileIsHidden(nIndex: Integer): WordBool;
Description Boolean. Use this function to determine whether a specific element in an archive is a
hidden file. The
index value can be from 0 to FileCount-1.
FileIsReadOnly
Syntax FileIsReadOnly(nIndex: Integer): WordBool;
Description Boolean. Use this function to determine whether a specific element in an archive is
read-only. The index value can be from 0 to FileCount-1.
FileIsSystem
Syntax FileIsSystem(nIndex: Integer): WordBool;
Description Boolean. Use this function to determine whether a specific element in an archive is a
system file. The index value can be from 0 to FileCount-1.
FileIsVolume
Syntax FileIsVolume(nIndex: Integer): WordBool;
Description Boolean. Use this function to determine whether a specific element in an archive is a
volume label. The
index value can be from 0 to FileCount-1.
FileName
Syntax FileName(nIndex: Integer): WideString;
Description Returns the name of an existing archive file element (file/directory/volume) by
index. The index value can be from 0 to FileCount-1.
Example
//**********************************************//
// This code illustrates a loop over the content
// of the archive, looking for a specific filename.
//***********************************************//
function Main () {
var hsOKInfo = 64;
var app = Application;
var ZIPPro = app.ZIPProvider;
ZIPPro.ZipFile = ‘d:\\zipfiles\\test.zip’;