Copy link to clipboard
Copied
Is there a way to create a password a pacaged file or at least on the idml file so that I can be sure that noone besides my client will access it.
<Title renamed by moderator>
Copy link to clipboard
Copied
You can zip the package and add a password to that but no, from InDesign, there is absolutely nothing you can do.
Copy link to clipboard
Copied
How can I zip and add a password?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
What's my best option?
And how do I go about it?
Copy link to clipboard
Copied
Can you use applescripts?
This is the code of applescript.
tell application "Finder"
set scptList to {"cd ~/Desktop/" & linefeed, "zip", "-rj", "-P"}
set psw to display dialog "Enter the password you want to set." default button 2 default answer ""
if (button returned of psw is not "OK") or (text returned of psw is "") then
error number -128 --quit script
end if
set end of scptList to (text returned of psw)
set zipName to display dialog "Enter the name of the zip file." default button 2 default answer "hoge.zip"
if (button returned of zipName is not "OK") or (text returned of zipName is "") then
error number -128 --quit script
end if
set end of scptList to (text returned of zipName)
set tgtFiles to choose file with prompt "Select the files or folders you want to zip." with multiple selections allowed
repeat with i in tgtFiles
set end of scptList to quoted form of (POSIX path of (i as string))
end repeat
set end of scptList to "-x \"*.DS_Store\""
-- convert to texts from lists
set defaultDelimit to AppleScript's text item delimiters
set AppleScript's text item delimiters to " "
set scptBody to scptList as text
set AppleScript's text item delimiters to defaultDelimit
do shell script scptBody
end tell
Save this code as an .app file in your script editor and double-click on it to use it.
I hope it works out.
Copy link to clipboard
Copied