Help with macro modification

Unarchive files to next finder window, select files at destination.kmmacros (9.3 KB)
Here is a macro which selects the archive files in a one Finder window, copy it to another, uses Bandizip to unarchive them and deletes archives.

Please help me to modify it so it will work oppositevly:

  1. Copy Folders to the another Finder window
  2. Compress it with Bandizip
  3. Erase folders

I've tried just to change the KC that runs the Bandizip's command but the problem is that the folders are not get selected after the copying.

Thanks!

Compress the folders how? If you want to zip them it would be much easier to use command line zip or gzip -- you wouldn't have to do all that copying and deleting, for a start.

With the key command. Control+option+6. I don't use system archiver because it doesn't have multicore support and archiving/ unarchiving the folders with a hundreds of audiofiles is very slow.

1 Like

Gotcha.

Given Bandizip's lack of scripting support (apparently CLI is on the dev's todo list, so add your support if you haven't already) it looks like you'll need to drive the UI. ⌃⌥6 does nothing for me so I've gone the contextual menu route, which does (in this method) require macOS Sequoia.

I don't understand why you are Copying the folders to later delete them -- instead, this creates the archive in place, named for the parent folder, then moves the archive to the destination.

Zip with Bandizip.kmmacros (7.9 KB)

Image

It's probably not what you want -- but it should give you a good starting macro to tweak until it works right for you.

1 Like

Thank you!

Where did you see it's on the to do list?

Nevermind, found it.

1 Like