The following single action macro simply opens a Bear Note using the note's UUID.
I managed the feat of having 2 problems with a single action macro.
I want to modify it so that:
1- the URL opens the clipboard to which I will have copied the note's UUID beforehand. It works fine when the URL contains the note's UUID as in
bear://x-callback-url/open-note?id=BDD09C0A-F79C-4303-81C8-4D7E10D6F918-3517-000109BE3DEDC795
But my 2 attempts at running the macro with the clipboard (which contains the note's UUID) have failed including
bear://x-callback-url/open-note?id=%Variable%SystemClipboard% and
bear://x-callback-url/open-note?id=%SystemClipboard%
2- I would like the macro output (last action) to be copying any one of the 4 listed macro URLs to the clipboard. I have no clue how to approach this.
Why is that? The problem with that setting in the gear menu is that %Variable%SystemClipboard% will not be replaced with its contents, the note’s UUID. And so there no way it will work as you want it to.
Additionally, to debug, add a Display Text action with the same string you have in the Open URL action.
I.e.: bear://x-callback-url/open-note?id=%SystemClipboard%
Or bear://x-callback-url/open-note?id=%Variable%VarName% to see if the string is being correctly combined and the variables and clipboard have been processed.
As for question #2, not sure how to do automatically, only manually (do the same as you did with the Bear x-callback, combine the strings manually, and copy-paste the UUID of the macro).
The following does not work neither process text normally or process nothing
Note the orange font of Open URL indicating that the open URL action does not accept a variable (as far as I understand).