Feature request: automation to get current note ID

I wish Bear supported at least enough Applescript (or similar) to allow automations to get the currently-viewed note of the frontmost window.

In my case, I would like to use this in interactively-triggered actions (e.g., in Alfred workflows) to do something with the current note.

Is this shortcut something like you had in mind?

https://www.icloud.com/shortcuts/63b77b10f87444fe964fa237a6398892

I hope this link works for you. When I click on it here I get an error message but it works if I first copy it to safari.

It doesn’t seem to be possible to open that link on modern OSes (Shortcuts rejects it as “unable to verify”). Can you share a screenshot or other summary of how it actually works? Or can you “Export” it from your Shortcuts? The iCloud sharing feature seems infuriatingly locked-down and opaque.

1 Like

Ah, of course – I didn’t realize the open-note URL scheme method can actually just return the current note ID in the callback. Thanks for this!