Extract a zip file to folder, delete file, and select folder

On ctrl + double clicking a zip file, I want

  1. the contents to be extracted to a subfolder with the same name as the zip file (minus the .zip extension, of course)
  2. the zip file to be deleted
  3. the newly created folder to be selected

Using the code below, I have been able to do 1 and 2, but I can't figure out how to do 3.

Copy EXTRACT=sub HERE Delete NORECYCLE QUIET Select ...?

I am a complete newbie, but am totally loving the power of Opus... any help would be greatly appreciated!

This worked for me on a simple test

@set fn = {file$|noext} Copy EXTRACT=sub HERE Delete NORECYCLE QUIET select {$fn}
Regards, AB

Try following:

Copy EXTRACT=sub HERE Delete NORECYCLE QUIET set sortby=created Select first

:smiley:

[quote="aussieboykie"]This worked for me on a simple test

@set fn = {file$|noext} Copy EXTRACT=sub HERE Delete NORECYCLE QUIET select {$fn}
Regards, AB[/quote]
Thanks, that works! Well actually, it doesn't work with ctrl+double click, which I suspect is due to there being a problem on selection taking place when ctrl is pressed down. So I used it with alt + double click and that's working fine. And I've modified the last line to

go .\{$fn}

so that the folder opens instead, as one would expect on double clicking a real folder.

Thanks for the help!

What happens when an extraction fails? Anyway to verify/check that no archives were deleted on errors?