FBarrca / obsidian-handwritten-notes

Obsidian Handwritten Notes Plugin
MIT License
177 stars 5 forks source link

Support more PDF editing software #18

Open fireflysss opened 10 months ago

fireflysss commented 10 months ago

Your idea is great, it can perfectly solve the problem of Blackstone supporting handwriting However, many software support PDF handwritten annotations. Can you set an option for WIN users to set their own software for opening PDFs In this way, PDF can be opened through the software settings, instead of the system default For example, for me, I use a lot of PDF software, but some software focuses on reading, some are editing, and some support handwriting function. Therefore, I think having a software selection function to open PDF files would be more convenient

FBarrca commented 8 months ago

Sadly, I can't make the user select the app. I'm using a low-level API (not even a part of the official API ) that only allows opening the default app for that file type, it doesn't allow one to choose the app https://github.com/FBarrca/obsidian-handwritten-notes/blob/master/src/main.ts#L373. From the top of my head, it would be technically possible by calling a child process in node with a shell. But I don't find it elegant at all, and it would make it much harder to use for new users. But you are welcome to fork it and develop it yourself if you really want to, as I think it is a good power user feature.