I’m reposting here this Reddit post of mine.
The idea is providing some scripts, so one can add to SumatraPDF a copy command that copies a link to the current doc and page, so if you paste the link in an Obsidian note and click on it, it opens the linked doc at the linked page.
I wrote the scripts for myself, but wanted to made them available for others that wanted to do the same.