Agenda Shortcuts and Reference

Excellent - glad it’s working for you now!

Is Agenda shortcuts available in Mac OS 13 Ventura?

Yes, that should work. I just checked our code, and we are targeting macOS 13 and newer for this.

May I request Tags as a filter for the Find Notes Shortcuts action.

Thanks for the feedback!

Are you sure you can’t already search for tags?

I was thinking I could use a Tags filter here. But I will try a different approach by iterating through each note looking for tags using the Get Tagged Items action.

Does it work to search for #tag?

In agenda, tags are note content, rather than properties of the note itself.

I don’t see a way to search note content in Apple Shortcuts, other than iterating through the notes and using the Get Note Text for each one.

What I’m trying to do is use Shortcuts to automate a spaced repetition routine where I, for example, find all notes tagged containing the tag #weekly that were completed over a week ago, then mark them as incomplete and on-the-agenda.

OK, that surprises me. I wonder why we didn’t have a search option there. (I didn’t work on this code)

I will investigate…I’ll let you know.

I’ve added a Search Notes shortcut in the next minor release. Hopefully only a few days away.

Should make things much easier. You can provide any search like you would write in the search field, including tags.

2 Likes

Thanks for adding a search action to the Shortcuts!

Is it possible to search by colour? I’ve tried \colour(red) as a query for the Search notes action without any luck.

What color do you mean? Background color?

I just tested the normal search, and it did find notes with the same background color based on \color(blue). Is that at least working for you?

Are you saying it does work in the normal search, but not via the shortcut? I would think it should but would need to check.

Yes, I meant the background colour via the shortcut. It doesn’t find any matching notes.

OK, will investigate.