Sample code for 30+ languages & platforms
AutoIt

Transition from Zip.AppendSb to Zip.AddSb

Provides instructions for replacing deprecated AppendSb method calls with AddSb.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oZip = ObjCreate("Chilkat.Zip")

; ...
; ...
Local $sPathInZip = "example.txt"
$oSb = ObjCreate("Chilkat.StringBuilder")
$oSb.Append("This is a test")
Local $sCharset = "utf-8"

; ------------------------------------------------------------------------
; The AppendSb method is deprecated:

$bSuccess = $oZip.AppendSb($sPathInZip,$oSb,$sCharset)

; ------------------------------------------------------------------------
; For consistency, the name has changed to AddSb.

$bSuccess = $oZip.AddSb($sPathInZip,$oSb,$sCharset)