Open PDF in default app at specific page (= pass CLI command to URI)?

Hello,

I have a PDF reader that accepts a --page i option in command line (where i is a page number) : Is there any way to pass that option to my PDF reader when using Obsidian’s Open with default app ?

image

It would be great if URI supported such links :

[[docName.pdf#commandName]]

Where instead of commandName we could write /A page=3 or --page=3 (different PDF readers have different CLI arguments to open at specific page). Obsidian would just have to pass that argument to the console.

Thanks !

2 Likes