Open an existing note with today's date on it

Good day everyone.
I really love the framework called https://www.myforevernotes.com
I have notes created with date titles like this: “3 November” , “10 November” , “11 November”, etc.
There is a shortcut that works with Apple notes and I would like to try to recreate it for Bear. The link to the Shortcut is here: Shortcuts

If anyone has any ideas please let me know. Thanks!

Here is a shortcut I use for a Bear daily note.

https://www.icloud.com/shortcuts/66ac60294e254c948761f09db1b68938

There is an actual setting in Bear settings to start a new note with date (and optionally the time as well)

So here is the shortcut I am trying out… but it isn’t working.
The problem isn’t creating a note with the date. I want to create a shortcut to open pre-existing notes with dates on them.

But it is giving me an “Invalid URL” error.
:frowning: I’m not very good at these shortcuts…

Not, really what I am looking for. But thanks!

@neilg3 Have you tried the Bear specific shortcuts rather than x-callback?

You could use the ‘Open Bear Note’ shortcut action with the current date custom formatted as the title - it’s a single action and will open today’s (titled) note.

2 Likes

Wow! That’s it… so simple. Sorry for back-and-forth.

1 Like

I’m not great at shortcuts either but Bear makes it easier with excellent shortcut actions

1 Like

Yes, I did wonder about this - probably need to add some year syntax to the note titles.

1 Like

Just deleted my responses since your shortcut was the simplest one :blush:

I also thought it would be better to include year in title, but I tested the shortcut as it is, and it will open the last edited one when duplicate note titles (next years).

So guess it’s ok if one wants a clean title.

But adding tags like #journal/2024 or something could also remedy that.

2 Likes

Tip: Use BetterTouchTool to assign a handy keyboard shortcut to this.

I use Fn+T.

I used to use Alfred, and now Keyboard Maestro, for a quick text action that creates a YYYY-MM-DD-hhss header and a #Journal/YYYY/MM tag at the bottom (below a horizontal rule).

I use !entry for the replacement action. Works perfectly.

The original question is about how to open an existing note, yet all of the solutions are about creating a new note.

I want to use Keyboard Maestro to open an existing Bear note using a Regular Expression match to the title.

Any ideas?

I can’t think of a way to use a RE for a search in Bear via API or UI. I don’t use Keyboard Maestro and I’m unsure if you can apply this to your workflow but maybe you can use Bear’s /search to get an unrefined set of results as JSON and then use the RE on the same data.