universityrelop.blogg.se

Compress file with password mac
Compress file with password mac










compress file with password mac

Set prompt_text to "Password cannot be empty.

compress file with password mac

Set verify_password to text returned of (display dialog "Please verify your password." buttons default button 1 default answer "" with hidden answer) Set zip_password to text returned of (display dialog prompt_text default answer "" with hidden answer) set prompt_text to "Please enter password for the zip file" Step 5: Copy and paste the following AppleScript code to the “ Run AppleScript” block. Delete the sample code and replace it with the code in step 5. You can also drag this option to the right workflow area. Step 4: From the Actions library on the left, double-click on “ Run AppleScript” found under the “ Utilities” category. You can also change the image (this is the icon that will be displayed on the left side of the quick action) and the colour if you like.

compress file with password mac

Step 3: Change the type of input to “files or folders”. So these are a few more ways to access your quick action workflow once you have created it. Choose “ Quick Action” as the type of Automator document.Īs a side note, notice the description at the bottom of the dialog box mentions that a Quick Action workflow can be added to Finder, Touch Bar and Services menu. Step 2: Create a new Automator document: File > New (or press ⌘N). To create a password-protected (encrypted) zip file using Quick Action, we first need to create the Quick Action item using Automator app. You can just select the files and folders that you want to zip with password, right-click, then under “Quick Actions” choose “Zip with Password”. Quick Action is one of my favourite ways to perform actions with files and folders in Finder. But what if you want to add many files and folders to the zip archive. It is quite easy to do when it involves one or a few files. One of them is by entering command in Terminal. There are many ways to create a password-protected (encrypted) zip file on MacOS.












Compress file with password mac