Livecode Wiki
Advertisement

Lists the items in a zip archive.Syntax:

revZipEnumerateItems(<archivePath>)

Examples:

put revZipEnumerateItems(tArchive) into tItems
if "myZippedItem" is among the lines \
      of revZipEnumerateItems(tArchive) then
  beep
end if

Use the revZipEnumerateItems function to obtain a list of the items currently in an open zip archive. The archive must first have been opened with the revZipOpenArchive command.

Parameters:

  • archivePath: The absolute path to the archive to list items in
  • Returns: This function returns a list of item names, one per line, in thearchive. If the archive is empty, or an error has occurred thenrevZipEnumerateItems will return empty.

See also: revZipExtractItemToVariable (command),revZipOpenArchive command (command),

Advertisement