Alfred - Obsidian Utilities

Hi.

Ever since I started using Obsidian, I’ve been setting up some Alfred automations that allow me to use the app more efficiently. The workflow was messy and hardcoded with my own info, but I’ve cleaned it up and it’s ready to share.

Obsidian Utilities.zip (197.9 KB)

Usage

v (no arguments)

Open vault folder in VS Code

s [search tearms]

Search note titles and contents with Alfred.
Open results in Obsidian or VS Code (Cmd modifier)

j [journal entry]

Append journal entry to daily note. Adds timestamped heading and journal tag.

n [entry]

Append entry to daily note.

t [task]

Appends tasks to tasks file, under the configured heading. Prefixes tasks with date created.
Transcludes task in the daily note. Adds task tag. Date is ommited.

Cmd+Shift+R (block referencing helper)

I use this when I’m already looking at the block I wish to reference, bypassing the need to go elsewhere and rely on Obsidian’s autocomplete.

  1. Place the cursor at the end of the block you wish to reference
  2. Use the shortcut. A reference code is added at the cursor position.
  3. When the success notification appears, the referencing code is ready to be pasted.

This generates a link, but you can easily turn it into a transclusion by adding “!” before “[[”.

clip (no arguments)

  1. Takes the web page open in Safari’s active tab and saves it as a new note in markdown format.
  2. Places a link to it in the daily note.

Logged Google Search

Add it in Features -> Setup fallback results -> + -> Workflow Trigger
Logs every Google search you perform in Alfred, under the configured searches_heading in the daily note.


Feedback

This hasn’t been tested in any other computer. If anything goes wrong, please tell me so I can fix it. Also, if you have ideas or requests, do let me know.

Cheers!

9 Likes

You have built basically every idea I have in my running task note in Obsidian, called “Alfred and Obsidian”. This is awesome, thank you so much for sharing! :open_hands:

2 Likes

Ahah awesome. Cheers!

1 Like

this is much more fleshed out than the one i made :sweat_smile:

1 Like

This is great!

Will install tomorrow and let you know if there are any problems…

1 Like

Well, it’s been almost a six-month project :sweat_smile:. Hope it’s useful to others.

1 Like

adore the daily note appending features, using them constantly now, the updated while being in preview mode is nice so i don’t have to switch modes :100: