298
Chapter 15 Scripting the Visual Tools Object Model
ZIPProvider object
The
ZIPProvider
object is the general purpose PKZIP services object used by
H for Dreamweaver MX for ZIP file composition and extraction. You can
use this object in your VTOM scripts for low-level PKZIP operations from within
H for Dreamweaver MX. Because Macromedia uses a licensed control for
its ZIP operations, you cannot use
ZIPProvider
outside of H for
Dreamweaver MX.
Properties
CompressionLevel
Syntax
CompressionLevel: Integer
Description
Sets and gets the compression level use to compress the archive file. You can set the
value from 0 to 9; 0 represents no compression, 1 is fastest compression, and 9 is the
slowest but most size-efficient compression.
ExtractionDir
Syntax
ExtractionDir: OleVariant
Description
Sets and gets the directory path where the files are extracted from an existing archive
file using the Extract method.
FileCount
Syntax
FileCount: Integer (read-only)
Description
The number of elements in the archive.
Overwrite
Syntax
Overwrite: WordBool
Description
Boolean. Sets and gets whether the newly extracted files overwrite any existing file in
the
ExtractionDir
directory.
Password
Syntax
Password: OleVariant
Description
Sets/gets the password for the archive file. Set this property when extracting
password protected files or to password- protect files in an archive file that you just
created.
Summary of Contents for HOMESITE
Page 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Page 12: ...xii Contents...
Page 20: ...xx About This Book...
Page 28: ...8 Chapter 1 Setting Up the Product...
Page 70: ...50 Chapter 4 Managing Files...
Page 88: ...68 Chapter 5 Writing Code and Web Content...
Page 116: ...96 Chapter 6 Editing Pages...
Page 148: ...128 Chapter 7 Using Web Development Languages...
Page 190: ...170 Chapter 11 Deploying Files...
Page 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Page 216: ...196 Chapter 13 Extending the Help System...
Page 350: ...330 Glossary...
Page 358: ...338 Index...