Open an encrypted .zip
how do you open an encrypted .zip file with an AppleScript ?
mac pro, Mac OS X (10.4.11)
Want to highlight a helpful answer? Upvote!
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >
mac pro, Mac OS X (10.4.11)
How would you enter the password for an encrypted .zip ?
set theZipFile to (choose file with prompt "Please select the zip file:")
set thePW to text returned of display dialog "Please enter the zip file's password:" default answer "" with hidden answer
do shell script "/usr/bin/unzip -P " & quoted form of thePW & space & quoted form of POSIX path of theZipFile
Open an encrypted .zip