How to open pdfs with another program?

Hello, Team. New here in trial.

I want to set sumatra PDF as my default pdf viewer. I had Microsoft edge previously but it is a headache since it keeps changing my defaults whenever I restart my computer. I have removed microsoft edge and all of its component. but still, whenver I restart the computer, the pdfs are in white icon in opus, saying the application not found. I have already set the file type pdf to open by default with sumatra.exe in dopus. still it keeps showing the error after restart.

The only way right now is to go to default apps in windows setting and change it to sumatra everytime after restart. it is getting really annoying. any workaround or something that needs to be change in script which can override this?

You need to fix/remove whatever is breaking that change every time you reboot.

That’s all outside of Opus.

1 Like

Thanks. Can i have any hint how to approach this?

I think that you may try to set in Settings/ Filetypes... "Left double-click" event to:

"PATH-TO-SUMATRA\SumatraPDF.exe" {filepath$}

Then it should open PDF with Sumatra if double clicked in DOpus, no matter how it is set in system.

1 Like

It really depends on what is breaking the file type and how it's doing that.

Assuming it affects File Explorer as well as Opus, it's going to be something outside of Opus.

Uninstalling any unwanted PDF software (or all PDF software, if that doesn't work), then (re)installing the PDF software you wanted often fixes things. But it is going to depend on what the software is doing to the registry and how the different tools are fighting over the file type.

Thanks for reply. appreciate you effort on development of such a robust program. will buy it after trial ends.

This is really powerful! Thank you so much!
So, does it mean Dopus ignores what system filetype is set to, and adds its own filetype signatures to it?

Commands/Events are DOpus specific.

If "Left double-click" is not configured then by default left double-click invokes what is configured in Actions/open which is system-wide.