# Keyboard Maestro Daily Journal Template

**URL:** <https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350>\
**Category:** Workflows & Templates\
**Created:** [May 17, 2021, 9:14am UTC](https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350 "2021-05-17T09:14:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ijd65](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ijd65/32/15487_2.png) [@ijd65](https://forum.obsidian.md/u/ijd65)\
**Post date:** [May 17, 2021, 9:14am UTC](https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350/1 "2021-05-17T09:14:04Z")

</div>

I recently moved my Daily Journal process from [DEVONthink](https://talk.macpowerusers.com/t/devonthink-journal/20367) to Obsidian.

Through a combination of Applescript and Shell commands I have automated the creation of the Journal via a Keyboard Maestro macro.

Along with some standard Categories such as Weather (via [wttr.in](http://github.com/chubin/wttr.in)), Daily Quotes and News Headlines (via DEVONthink RSS feeds) I wanted to add in Today’s Events from Calendar and due tasks from Reminders.

Unfortunately the process to extract Calendar Events via Applescript is notoriously slow. Luckily by using [icalBuddy](https://github.com/chubin/wttr.in) via a Shell script this process is much quicker. The icalBuddy approach does not allow for a direct link to the Calendar Event but I included a link to the App for both the Mac and iOS version.

Getting Reminders Tasks can also be slow but this process can be improved if you regularly delete completed tasks. The Applescript I use creates an entry in Obsidian listing the Reminders List and Task Name with a direct link to the Task that works on both platforms.

As per usual it is a continual work in progress but if interested the Keyboard Maestro Macro that I use can be [downloaded here](https://drive.google.com/file/d/1-D-wFaMSQ9cstu9mgSuvjACR6hZR0oU6/view?usp=sharing).

![Obsidian Daily Note](https://forum.obsidian.md/uploads/default/original/2X/3/35c92c92568d4679f4fb70e04e2aba4cc0033890.gif)

---

<div class="post-metadata">

**Author:** ![anon27868835](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@anon27868835](https://forum.obsidian.md/u/anon27868835)\
**Post date:** [May 17, 2021, 9:38am UTC](https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350/2 "2021-05-17T09:38:41Z")

</div>

The topic of daily journal templates is very interesting == this one is well done, @ijd65 ! Thank you.

---

<div class="post-metadata">

**Author:** ![oyvind](https://forum.obsidian.md/user_avatar/forum.obsidian.md/oyvind/32/4492_2.png) [@oyvind](https://forum.obsidian.md/u/oyvind)\
**Post date:** [May 18, 2021, 11:26am UTC](https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350/3 "2021-05-18T11:26:08Z")

</div>

Would you like to share how exactly you get the calendar from the MacOS calendar into Obsidian? That alone would be super useful.

---

<div class="post-metadata">

**Author:** ![ijd65](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ijd65/32/15487_2.png) [@ijd65](https://forum.obsidian.md/u/ijd65)\
**Post date:** [May 18, 2021, 9:38pm UTC](https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350/4 "2021-05-18T21:38:35Z")

</div>

Hi,

I created an AppleScript to link to Today’s Events but it runs quite slowly ( a known issue with Calendar). If anyone is interested in this give me a shout.

icalBuddy is a utility that you can install that speeds up the process greatly. The Command I use in the Keyboard Maestro Macro is;

#!/bin/sh  
/usr/local/bin/icalBuddy -npn -ec Contacts -eep notes -b “\* " eventsFrom:”${KMVAR\_d} 00:00:00" to:"${KMVAR\_d} 23:59:59"

KBM then pastes the result into the Daily Note.

Hope this helps

---

<div class="post-metadata">

**Author:** ![ijd65](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ijd65/32/15487_2.png) [@ijd65](https://forum.obsidian.md/u/ijd65)\
**Post date:** [January 4, 2022, 2:09am UTC](https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350/5 "2022-01-04T02:09:15Z")

</div>

Hi,

The link in the post is not working and I can’t edit it. Keyboard Maestro Macro can be [found here](https://github.com/logic2design/Keyboard-Maestro)
