xilopaint Posted March 15 Share Posted March 15 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. Link to comment Share on other sites More sharing options...
sepulchra Posted March 15 Share Posted March 15 I agree. This would be a great addition as a default option or even an automation task! Link to comment Share on other sites More sharing options...
Stephen_C Posted March 15 Share Posted March 15 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 Link to comment Share on other sites More sharing options...
sepulchra Posted March 15 Share Posted March 15 ooh i hadn't thought of that! Link to comment Share on other sites More sharing options...
TomBenz Posted March 16 Share Posted March 16 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. Link to comment Share on other sites More sharing options...
Stephen_C Posted March 16 Share Posted March 16 (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 by Stephen_C Link to comment Share on other sites More sharing options...
sepulchra Posted March 16 Share Posted March 16 @Stephen_C can you share what your archive shortcut looks like because I cannot get it work. Here is what I have Link to comment Share on other sites More sharing options...
Stephen_C Posted March 16 Share Posted March 16 (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 by Stephen_C Link to comment Share on other sites More sharing options...
sepulchra Posted March 16 Share Posted March 16 I made that change but no joy. Link to comment Share on other sites More sharing options...
Stephen_C Posted March 16 Share Posted March 16 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 Link to comment Share on other sites More sharing options...
sepulchra Posted March 16 Share Posted March 16 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! Link to comment Share on other sites More sharing options...
Stephen_C Posted March 17 Share Posted March 17 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 Link to comment Share on other sites More sharing options...
TomBenz Posted March 17 Share Posted March 17 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 Link to comment Share on other sites More sharing options...
Stephen_C Posted March 17 Share Posted March 17 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 Link to comment Share on other sites More sharing options...
TomBenz Posted March 17 Share Posted March 17 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 Link to comment Share on other sites More sharing options...
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