
File Path – the variable that will containe the path to where the zip file will be saved as.
Note: the variable will need to be set prior to this point in the script.

File Path – the path to the file that will be added to the final zip file.
Note: the variable will need to be set prior to this point in the script.

Choose Yes if the zip file will be password protected.
Password – the variable that will contain the password.
Note: the password variable will need to be set prior to this point in the script.
Create Script

New Zip File – returns a new ZipItem.
Set Password – sets the password for the ZipItem.

Add File – adds a file to the ZipItem.
Create Zip File – adds the contents and generates the zip file.
Close Zip – closes the ZipItem.