open a note from command line
Posted: Mon Nov 01, 2021 11:39 am
Hello,
Is there a way to open a specific note in a specific CintaNotes installation using command line?
Let's say I have several Portable installations of CintaNotes:Databases A.db, B.db and C.db are opened, and the notes have links:
I would like to do something like this:
So far I found out that I can pass a note link as a parameter (even when Link Protocol isn't registered in the system), but it only works for the last opened instance of CintaNotes.
I mean, if I open portable installations in order A-B-C, this works:
But if I open them in order C-B-A, the command above (for C.db) doesn't work, but the command for A.db does:
I haven't found a way to make it work for all opened instances, not only the last one.
Is there a way to open a specific note in a specific CintaNotes installation using command line?
Let's say I have several Portable installations of CintaNotes:
Code: Select all
D:\A\CintaNotes.exe
D:\B\CintaNotes.exe
D:\C\CintaNotes.exe
Code: Select all
cintanotes://2d49b3d8-8c73-4129-a70e-8c4d7c89d4c7/note/30b0faa3-bece-4e2a-b005-7e024dfcbb06
cintanotes://1071fa4a-dc49-406e-8a82-6a2633213705/note/078958a0-f670-43ad-9957-25188a31b443
cintanotes://5f605449-80bf-4119-8fe3-8526de8e0295/note/f2f18dae-d3a9-46d9-acb9-7dcfe58c156e
I would like to do something like this:
Code: Select all
D:\A\CintaNotes.exe A.db -note 30b0faa3-bece-4e2a-b005-7e024dfcbb06
D:\B\CintaNotes.exe B.db -note 078958a0-f670-43ad-9957-25188a31b443
D:\C\CintaNotes.exe C.db -note f2f18dae-d3a9-46d9-acb9-7dcfe58c156e
So far I found out that I can pass a note link as a parameter (even when Link Protocol isn't registered in the system), but it only works for the last opened instance of CintaNotes.
I mean, if I open portable installations in order A-B-C, this works:
Code: Select all
D:\C\CintaNotes.exe cintanotes://5f605449-80bf-4119-8fe3-8526de8e0295/note/f2f18dae-d3a9-46d9-acb9-7dcfe58c156e
Code: Select all
D:\A\CintaNotes.exe cintanotes://2d49b3d8-8c73-4129-a70e-8c4d7c89d4c7/note/30b0faa3-bece-4e2a-b005-7e024dfcbb06