xilopaint Posted March 15, 2023 Posted March 15, 2023 I know we can compress a file/folder by right-clicking it and selecting the Compress command but in most cases it would be faster to search the file/folder through Alfred and compress it by using a universal action.
sepulchra Posted March 15, 2023 Posted March 15, 2023 I agree. This would be a great addition as a default option or even an automation task!
Stephen_C Posted March 15, 2023 Posted March 15, 2023 In the meantime what I do is to use a Universal Action linked to a Make Archive shortcut—which works well. Stephen sepulchra and TomBenz 1 1
TomBenz Posted March 16, 2023 Posted March 16, 2023 22 hours ago, Stephen_C said: In the meantime what I do is to use a Universal Action linked to a Make Archive shortcut—which works well. Stephen That's great idea. @Stephen_CStephen I would like to get the steps right. 1. Make .zip archive from input -- Make Archive shortcut 2. Universal action to select single and multiple files 3. Connect to Make Archive with following settings - Treat input as files - Wait for shortcut and pass its output I tried this and get no error message in debug. But no archive file is generated. Can you please review and let me know step that I am missing.
Stephen_C Posted March 16, 2023 Posted March 16, 2023 (edited) The Shortcut I use is actually very simple and looks like this: Edit: The Shortcut settings on Alfred Select a Shortcut are "Treat input as File(s)” and "Continue immediately and pass through input”. Stephen Edited March 16, 2023 by Stephen_C
sepulchra Posted March 16, 2023 Posted March 16, 2023 @Stephen_C can you share what your archive shortcut looks like because I cannot get it work. Here is what I have
Stephen_C Posted March 16, 2023 Posted March 16, 2023 (edited) @sepulchra you might try changing the setting on the Alfred Select a Shortcut: dialog. The bottom setting on mine is set to "Continue immediately and pass through input”. See if that makes a difference—because I don't think your actual Shortcut differs from mine. Edit: sorry, old man's bedtime 😀 - will pick up anything still outstanding early tomorrow! Stephen Edited March 16, 2023 by Stephen_C
Stephen_C Posted March 16, 2023 Posted March 16, 2023 Apologies: I was not being helpful! Looked at wrong shortcut because still had the AirDrop business on my mind. Here is my"Make archive” shortcut: If I recall correctly the secret was to include the save command in it. Stephen
sepulchra Posted March 16, 2023 Posted March 16, 2023 Thanks. That works. I don't know if you know the answer but is there a way to get it to save to the same location the original file is without being prompted where to save? I couldn't sort that out. Either way it is great. If not It might be just as easy to run as a bash script...... Thanks!
Stephen_C Posted March 17, 2023 Posted March 17, 2023 6 hours ago, sepulchra said: I don't know if you know the answer but is there a way to get it to save to the same location the original file is without being prompted where to save? If you click on Show More in the Save element of the Shortcut you could try to see what happens if Ask Where To Save is not checked. In my case it is checked becauuse I want the prompt. (I've not experimented to see if un-checking that provides what you need so you'll have to give it a try!) Stephen
TomBenz Posted March 17, 2023 Posted March 17, 2023 33 minutes ago, Stephen_C said: If you click on Show More in the Save element of the Shortcut you could try to see what happens if Ask Where To Save is not checked. In my case it is checked becauuse I want the prompt. (I've not experimented to see if un-checking that provides what you need so you'll have to give it a try!) This is mostly static path. would be good to save the zip as same location
Stephen_C Posted March 17, 2023 Posted March 17, 2023 2 minutes ago, TomBenz said: This is mostly static path. would be good to save the zip as same location Well, I'm afraid if Shortcuts can't do what you want you'd better speak to Apple about it. 😀 Stephen
TomBenz Posted March 17, 2023 Posted March 17, 2023 5 hours ago, Stephen_C said: Well, I'm afraid if Shortcuts can't do what you want you'd better speak to Apple about it. 😀 Stephen Apple told to reach out to talented team on this forum for guidance
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now