Open an encrypted .zip
howdy.
how do you open an encrypted .zip file with an AppleScript ?
how do you open an encrypted .zip file with an AppleScript ?
mac pro, Mac OS X (10.4.11)
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