Delete archive after successful extraction

Is there an option to bring up a dialogue box which asks if the user wants to delete an archive after successful extraction? The reason for asking this is that peazip and winrar both offer these options. When will directory opus have such an option? I have looked in zip options but don't see such an option. Will there be an update that adds this, please?

This script does that:

Thank you for your help.

Sometimes I use file explorer and would also like to be able to right-click and extract compressed files using directory opus. Can the script do that as well?

Yes. Running from a context menu instead of a button would require a few (minor, I guess) adaptations. It’s best to ask directly in the thread.