Alfred to Obsidian Logging to the current Daily Note

I’m finding I’m using Obsidian more and more and only needed some simple Alfred integrations to make my life simpler and thought I’d share my basic of basics workflow.

OLog

Allows you to log data to the Daily Note in 3 different ways.
Opens the daily note from anywhere.

Searches Obsidian.

Requirements

Ensure you have Obsidian Community Plugin Advanced Obsidian URI enabled.

Environment Variables

Update your vault name in the environment variable vaultname

Commands

olog - Brings Obsidian to the front, appends current time and starts a new line with the typed text.

clog - Brings Obsidian to the front, appends current time and starts a new line with contents of the latest clipboard entry.

hotkey: +o (or choose your own) - Brings Obsidian to the front, appends current time and starts a new line with currently selected text.

os - Bring Obsidian to the front and searches with the typed text.

odn or hotkey of your choice - Brings Obsidian to the front and opens the current Daily Note.

Hope its useful to at least one other person :)

4 Likes

Just what the doctor ordered, thanks!

The time does not get inserted for some reason, but text/clipboard does → already happy with this!

1 Like

Edit: this quick Alfred hack solved it:

1 Like

you’ve just made me realise I thinkI was using another feature in Obsidian I didn’t put in requirements.
I do prefer your version though.

Thanks and I’ll update asap!!!

1 Like

OK so new version out to fix the time issue and highlight where to customise the data going into Obsidian

CleanShot 2021-11-22 at 09.42.59@2x

I believe this line could be removed for clarity, unless it’s only there because I had the old version.

Cheers

1 Like

Thanks. Done. :slight_smile:

Done a few new versions with some added extras. Also need to test auto-updating via oneupdater if anyone is keen?

Few more updates with some more options to get data in.