Using another app, how can I open a note from an already running instance of Joplin using the note's ID?
If I 'copy external link', I get: joplin://x-callback-url/openNote?id=41af4ba3943142a0aff1daaa152fc3g5
When calling that link from another app, such as AutoHotKey, it launches a new instance of Joplin and opens the desired note.
But since I already have Joplin running, I'd rather not open a new instance every time I access a note from an external app. Can I somehow use the note ID to open the note in the already running instance of Joplin?
I could use AutoHotKey to activate Joplin, but even CTRL+P and then pasting note ID in the search field does not work. I’d have to use CTRL+P then paste in the note’s title and select the first search result, which is a convoluted way to access a note for which I already have the ID.
There is a very convoluted way: create a new note with an internal link to the target note by id eg `[target](:/41af4ba3943142a0aff1daaa152fc3g5)` then follow that link.
Imho you should post a feature request to finally implement id: search similar to already existing title:search.
On my already running Joplin Desktop 3.4.10 on MacOS, when I open joplin://x-callback-url/openNote?id=3d4b76a1dbec4c6f9d4406464a2267f8 URL in chrome, the note is opened in existing instance, no new instance is created.
Thus it should work.
I suggest you upgrade to 3.4.10 and/or create a new test profile and disable all plugins there. I highly doubt Mac/Windows is the cause of the different behaviors.
On my already running Joplin Desktop 3.4.10 on MacOS, when I open joplin://x-callback-url/openNote?id=3d4b76a1dbec4c6f9d4406464a2267f8 URL in chrome, the note is opened in existing instance, no new instance is created.
After updating Joplin to v3.4.10, pasting link in chromium browser will open the note in joplin, but it does not make Joplin the active window. Does it work the same way on your Mac?