Zip extraction on double-click

I hope there's some ambition to provide user preference to have macOS like action after a double click on an archive.

In the Finder, a double click will simply extract the archive in the current directory with the same name as the root folder of the original folder, and no it doesn't burry that root folder inside another folder of the same name which apparently occurs frequently on Windows.

I just never seem to ever have any desire to look inside the archive, especially not as default double click. I download an archive, i don't need to see inside first, just wanna get to the files.

Anyway Mac OS classic with Stuffit Expander was giving us the behaviour of extract on double click since the 90's, makes our life easier.

Lurking in Preferences/Zip & Other Archives/Archive Options is an Auto-extract archive contents on double-click checkbox, which I have checked but that's disingenuously having some function completely unexpected and unrelated and quite frankly a bit to 'edge case'.

In order to get that, you would need:

  • To disable Zip support by Directory Opus (Settings/Zip & Other Archives/Zip files: uncheck first option)
  • Enable the different plugins to manage archive files (Settings/Zip & Other Archives/Plugins)
  • Then head to Settings/File Types
  • Choose the file type group "Archives" and double click on it
  • In the window that opened, go to the "Commands" tab, Events tab inside that tab
  • There will be an event for left double click, which should be setup to execute the go command
  • Double-click that and replace go by Copy EXTRACT {allfile$} TO={sourcepath}

Ah, hrm, convoluted but, yeah that sorts it, haha thanks

Copy EXTRACT HERE should also work, and might avoid potential problems with lots of long paths. (Although if you are double-clicking, it's probably not that important as there's usually only one file/path.)

If you want each archive to go into a sub-folder, use Copy EXTRACT=sub HERE

Where's Copy EXTRACT HERE found, and configured?

I'd be more inclined want to repurpose and rename this:

To something other than what the check box suggests it should do.
That check box should natively be for either of these approaches 'Copy EXTRACT HERE' 'Copy EXTRACT {allfile$} TO={sourcepath}' for the behaviour. Making me sweat bro!

That checkbox is doing what it says: when you double-click it extracts (to a temp folder) the content of the archive so you can maniplate it.

It looks like you'd benefit from reading the manual a bit. You'll find there what are the commands behind buttons and misc. actions you can trigger, how all options/arguments to this command can make them suit your needs. It will help you understand the logic behind Opus and prevent from asking for features that already exists just at the reach of your hand or stating things are not working as they should, when in fact they're not working as you'd like.
As for the specific answer to your question: you can put it at the very same place I indicated in my previous post.

From 13.16.1 on, you can now modify the Zip double-click events without having to turn off the internal Zip handler.

Opus no long resets (“repairs”) those events on startup.

1 Like

Ok so that suggests I can 'check' Enable internal Opus Zip Support:

And the existing Left double click action in File Types/File Groups/Multiple Archives/Commands will still do what the user expects (confirmed in 13.16.2b)

So the last query on this is about Opus not display icons for zip files anywhere, by that I mean not in the listers and not in Preferences/Zip & Other Archives/Archive and VFS Plugins, nor in File Types:




Update, icons appeared after Opus Quite/Relaunched (Reload a Lister didn't)

Reference for myself.

File Types/ filter archives, Commands Tab / Event Tab
Left Double Click
Noticed double clicking to extract archive with
Copy EXTRACT=sub HERE
results in folder inside self named folder.

This extraction command extracts as expected, same name as archive to same location:
Copy EXTRACT=checkout HERE