Difference between revisions of "Function.Automation.ZIPPro.SetProperty"

From GAB Help
Jump to: navigation, search
 
Line 19: Line 19:
  
 
<code>
 
<code>
 +
Function.Automation.ZIPPro.ReadProperty("FILECOUNT", V.Local.FileCountProperty)
 +
 
Function.Automation.ZIPPro.SetProperty("FILECOMPRESSEDNAME", 1,"file-at-index-1-renamed")
 
Function.Automation.ZIPPro.SetProperty("FILECOMPRESSEDNAME", 1,"file-at-index-1-renamed")
  

Latest revision as of 07:37, 21 May 2020

SetProperty(Name, Value)

Sets a property value. The available properties can be found http://cdn.nsoftware.com/help/IZF/cs/Zip.htm

Arguments

Name as String

The property name

Value as Any

The property value [as object]

Examples

Function.Automation.ZIPPro.SetProperty("Name",V.Local.Property)

Indexed properties

The properties require a file index:

  • FileAttributes
  • FileComment
  • FileCompressedName

Function.Automation.ZIPPro.ReadProperty("FILECOUNT", V.Local.FileCountProperty)

Function.Automation.ZIPPro.SetProperty("FILECOMPRESSEDNAME", 1,"file-at-index-1-renamed")

Function.Automation.ZIPPro.SetProperty("FILECOMPRESSEDNAME", 2,"file-at-index-2-renamed")