Interface: msZip

Methods:

<boolean>fileInPackage <filename>fileName <&string>extractDir

extractDir is In and Out parameter

This method will unload and run a zip package and return the extract_dir. Returns true if the zip package was run, otherwise false. Note: extractDir is In parameter

<filename>fileName: The file name of the ZIP script package.

<&string>extractDir: The directory in which the files were extracted.

 

<boolean>unloadPackage <filename>fileName <&string>extractDir <&string>dropFile

extractDir is In and Out parameter

dropFile is In and Out parameter

This method will unload the package while ignoring any drop or run commands and return the extract_dir and any primary drop file. If the primary dropFile is a *.ds, compile it in context of the package and return the MacroEntry in dropScript. Returns true if the package was unloaded, otherwise false.

<filename>fileName: The file name of the ZIP script package.

<&string>extractDir: The directory in which the files were extracted.

<&string>dropFile: The primary drop file.

See also

Interface: dragAndDrop

Zip-file Script Packages

iDrop - drag and drop