Wildcard Posted July 6, 2013 Share Posted July 6, 2013 Is there anywhere where zip actions in progress are visible? Or can be cancelled? I tried a test of zipping some folders, but accidentally included a huge one. Nothing happened (or so I thought) and I went about my business. I noticed that Alfred file actions and navigator were very very slow to show up, thought "huh." Then about 10 minutes later, the zip file finally appeared. File actions and navigator become snappy once more. There was no visible indicator that something was happening, though. Would like a way to cancel a zip in progress if it takes too long. (Maybe just a pop-up message after 15 seconds, "This zipping is taking a while. Click here to cancel.") Link to comment
Carlos-Sz Posted July 13, 2013 Author Share Posted July 13, 2013 For that, I'd just download Keka here: http://www.kekaosx.com/en/ If you select multiple files and go to file actions, open with, and choose "Keka," it will zip them individually by default. (Or just select a bunch of files and drag them onto Keka in the dock. It will zip them without even opening up. Nice little app.) Actually, what I like BEST about this workflow is that you can zip multiple files into one. There's just one problem for me: I just want to use the file actions method, no hotkeys or keywords. Is there a way to change the workflow so I can still choose a name for the resulting zip file? (Right now it seems the only way to choose the output name is by using a keyword, instead of using the file actions method of activating.) This could be done with a callback to a keyword "%zipname: " something like Vítor did here: http://www.alfredforum.com/topic/2722-renameaction-—-renames-a-directory-or-file-preserving-the-extension/?p=15825 Edit: One more thing—can you set it to automatically reveal the output zip file in Finder on completion? I think that's just a matter of adding an extra applescript output to "tell finder to show {query}" but I'm not sure how to implement precisely. Suggestion noted. Thank you. Is there anywhere where zip actions in progress are visible? Or can be cancelled? I tried a test of zipping some folders, but accidentally included a huge one. Nothing happened (or so I thought) and I went about my business. I noticed that Alfred file actions and navigator were very very slow to show up, thought "huh." Then about 10 minutes later, the zip file finally appeared. File actions and navigator become snappy once more. There was no visible indicator that something was happening, though. Would like a way to cancel a zip in progress if it takes too long. (Maybe just a pop-up message after 15 seconds, "This zipping is taking a while. Click here to cancel.") I’ll have to think about due the workflow limitations. After the zipping is started I don’t have control over the operation. Link to comment
rafegoldberg Posted May 31, 2016 Share Posted May 31, 2016 Awesome workflow my man! I've only run in to one issue– when trying to zip a folder the workflow throws an error: [ERROR: action.script] 0:149: execution error: Can’t make text items 1 thru -2 of "testfolder" into type text. (-1700) JSYK: I'm running the workflow in Alfred V3; not sure if that might be the issue. Either way, it seems like it's probably a minor error to fix, but I'm hardly an Applescript expert so I'll leave that to you... Anyway, thanks again for the dope flow! Link to comment
Carlos-Sz Posted June 8, 2016 Author Share Posted June 8, 2016 Awesome workflow my man! I've only run in to one issue– when trying to zip a folder the workflow throws an error: [ERROR: action.script] 0:149: execution error: Can’t make text items 1 thru -2 of "testfolder" into type text. (-1700) JSYK: I'm running the workflow in Alfred V3; not sure if that might be the issue. Either way, it seems like it's probably a minor error to fix, but I'm hardly an Applescript expert so I'll leave that to you... Anyway, thanks again for the dope flow! I’ll update the workflow as soon as possible. Thank you for your feedback! Link to comment
Carlos-Sz Posted June 9, 2016 Author Share Posted June 9, 2016 Zip 4.0 for Alfred 3 Please make some tests before using it for good. Download Link to comment
Jarek Posted September 15, 2016 Share Posted September 15, 2016 Hi Carlos, I've downloaded ver 4 of your workflow. Congratulations, this is really solid piece of software. However, I've found two issues: 'zip' keyword does not work on files without extensions (e.g. I'm trying to compress file with name 'seagull') somehow the file action does not work when trying to compress a folder. I see the notification but no zip appears (needless to say that the fileaction works fine when compressing a file). There is an error in the debug: [2016-09-15 18:56:13][trigger.action] Processing output of 'action.script' with arg '( "/Users/jarek/Desktop/abcd" )' [2016-09-15 18:56:14][ERROR: action.script] 0:74: execution error: Can’t make text items 1 thru -2 of "abcd" into type text. (-1700) [2016-09-15 18:56:14][action.script] Processing output of 'output.notification' with arg '' Please let me know if you need more evidence. Best regards, Jarek Link to comment
matthew16 Posted February 27, 2017 Share Posted February 27, 2017 I fixed that error and added a new action so Alfred jumps straight to your newly created zip. But the forum won't let me attatch the workflow file. Link to comment
Carlos-Sz Posted March 6, 2017 Author Share Posted March 6, 2017 On 15/09/2016 at 1:58 PM, Jarek said: Hi Carlos, I've downloaded ver 4 of your workflow. Congratulations, this is really solid piece of software. However, I've found two issues: 'zip' keyword does not work on files without extensions (e.g. I'm trying to compress file with name 'seagull') somehow the file action does not work when trying to compress a folder. I see the notification but no zip appears (needless to say that the fileaction works fine when compressing a file). There is an error in the debug: [2016-09-15 18:56:13][trigger.action] Processing output of 'action.script' with arg '( "/Users/jarek/Desktop/abcd" )' [2016-09-15 18:56:14][ERROR: action.script] 0:74: execution error: Can’t make text items 1 thru -2 of "abcd" into type text. (-1700) [2016-09-15 18:56:14][action.script] Processing output of 'output.notification' with arg '' Please let me know if you need more evidence. Best regards, Jarek Thank you for your feedback. I've been busy lately but eventually I'll try to fix it. Link to comment
binaryify Posted March 29, 2017 Share Posted March 29, 2017 I can't download it now CageD and TheDonk 1 1 Link to comment
CageD Posted April 24, 2018 Share Posted April 24, 2018 Download links are dead. I'd really like to get this workflow as well. Link to comment
Sridhar Katakam Posted January 26 Share Posted January 26 On 6/9/2016 at 1:02 PM, Carlos-Sz said: Zip 4.0 for Alfred 3 Error 404 We can't find the page you're looking for. Link to comment
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