AutoIt
AutoIt
Transition from Zip.AppendSb to Zip.AddSb
Provides instructions for replacing deprecated AppendSb method calls with AddSb.Chilkat AutoIt Downloads
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)