# Using (and automating) Obsidian on macOS - Meta Post

**URL:** <https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129>\
**Category:** Workflows & Templates\
**Tags:** macos\
**Created:** [July 12, 2020, 3:12pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129 "2020-07-12T15:12:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [July 12, 2020, 3:12pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/1 "2020-07-12T15:12:12Z")

</div>

Collecting posts on useful workflows for macOS. Link posts in this thread and I’ll consolidate.

# Keyboard Maestro

> [@KM Macro for creating a TOC from text headings](https://forum.obsidian.md/t/km-macro-for-creating-a-toc-from-text-headings/3110):
>
> Here is another potentially useful Keyboard Maestro macro. This time for creating a TOC from headings within the text. You have to be in editor mode, with the cursor in the text. Once triggered, it will select all the text, copy it, parse it and return a structured TOC in a display window and to the clipboard. Example: # Markdown #LoremIpsum [[Lorem Ipsum]] # H1 ## H2 ### H3 #### H4 ##### H5 ###### H6 ##### H5 #### H4 ### H3 ## H2 # H1 The macro will return: ## Content - [[#Markdown]] -…

> [@Create a Table of Contents from selected files on macOS using Keyboard Maestro](https://forum.obsidian.md/t/create-a-table-of-contents-from-selected-files-on-macos-using-keyboard-maestro/3008):
>
> Folks have been hoping for a Table of Contents plugin for a while. This isn’t that, but if you’re on a Mac and have Keyboard Maestro, I’ve created a simple macro that will produce a Table of Contents from a selection of files. To use it, you select a few files in Finder and activate the macro. The macro copies a bulleted list to your clipboard where each line corresponds with each selected file in link format. E.g., if you have two files named A.md and B.md, the macro copies the following bull…

> [@Quote from Safari/Chrome to Obsidian with Keyboard Maestro on macOS](https://forum.obsidian.md/t/quote-from-safari-chrome-to-obsidian-with-keyboard-maestro-on-macos/3011):
>
> There are many solutions out there for clipping text from the web into Obsidian. If you use [Keyboard Maestro](https://www.keyboardmaestro.com) on macOS, this one might be the simplest and most customizable of all. This Keyboard Maestro macro takes selected text in either Safari or Chrome and places it in your clipboard in the following form: \> quoted text - [Website title](website link) The result looks like: (Depending, of course, on your theming!) Here’s what the macro looks l…

> [@Open Today's Note from anywhere on macOS with Keyboard Maestro or Alfred](https://forum.obsidian.md/t/open-todays-note-from-anywhere-on-macos-with-keyboard-maestro-or-alfred/3006):
>
> This is a trivial macro to build, but just in case someone else hasn’t considered it, I thought I’d share it here. If you’re on macOS, [Keyboard Maestro](https://www.keyboardmaestro.com) is an incredibly powerful automation tool. This little macro simply uses the keyboard shortcut assigned to Today’s Note to open it in Obsidian, and will work even if you’re currently working anywhere else on the OS. Here’s what it looks like: Using Keyboard Maestro’s URL triggers, it’s pretty easy to a…

> [@Changing Obsidian’s appearance on the fly with Keyboard Maestro](https://forum.obsidian.md/t/changing-obsidian-s-appearance-on-the-fly-with-keyboard-maestro/3148):
>
> To celebrate [the creation of a macOS meta post](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129), another km macro for quickly changing Obsidian’s appearance and default font. There are 3 macros, actually. They work in the following way: set up a md file with the path of all your vaults. set up a md file with the path of all your favorite skins (a.k.a. CSS files) add your favorite font names to the fonts macro and make sure to adjust the css selectors. adjust the path to these files on the macros. But WATCH OUT: the CSS macro will DELETE …

> [@Search a range of dates with Keyboard Maestro on macOS](https://forum.obsidian.md/t/search-a-range-of-dates-with-keyboard-maestro-on-macos/3456):
>
> [The now-available upgraded search features](https://forum.obsidian.md/t/obsidian-release-v0-8-0/3259) afford a neat new capability: you can search across a range of dates! This Keyboard Maestro macro is a bit of a quilt, made of patched-together ideas from across the Internet. Once it’s enabled, if you trigger it, it presents a window where you can input a start date and an end date using natural language. For example: “Yesterday” and “July 30.” After a moment, it will set your clipboard to a range of dates in the Daily Notes format, formatted to be …

> [@Backup your notes! (Do so automatically with Keyboard Maestro on macOS)](https://forum.obsidian.md/t/backup-your-notes-do-so-automatically-with-keyboard-maestro-on-macos/3478):
>
> For everyone: this is a simple reminder that you should back up your notes. Cloud services are not a replacement for backups—in particular because changes to files synced to e.g., Dropbox or OneDrive propagate to the “backups,” too. Some of these services have quasi-backup features, like file rollback, but nothing beats the simple dependability of keeping a copy of your stuff somewhere else. If you’re on macOS using Keyboard Maestro, I’ve created a simple macro that will create regular backups…

> [@Keyboard Maestro macros: Vault Snapshot + Quick Git Commit](https://forum.obsidian.md/t/keyboard-maestro-macros-vault-snapshot-quick-git-commit/3485):
>
> Macro 1: Vault Snapshot Instructions Just input the path of both the vault and the desired backup location to the designated locations. What it will do Zip the Vault folder, timestamp it and move it to the backup folder. Macro 2: Quick git Instructions Change the first line of the shell script to the correct vault path. What it will do Commit all changes using a timestamp as commit msg. Warning Obviously you can only do it in a folder that is also a git repository. There are plenty of instru…

> [@Insert daily note-formatted date (as link) using Keyboard Maestro on macOS](https://forum.obsidian.md/t/insert-daily-note-formatted-date-as-link-using-keyboard-maestro-on-macos/3739):
>
> An even dumber version of [https://forum.obsidian.md/t/search-a-range-of-dates-with-keyboard-maestro-on-macos/3456:](https://forum.obsidian.md/t/search-a-range-of-dates-with-keyboard-maestro-on-macos/3456:) Want to insert the Daily Note-formatted date for e.g., next Monday? Too lazy to figure out what that means and type it manually? Me too. With this macro, just type ./date (or set up whatever triggers you desire), enter the target date with natural language, and presto—your date will be inserted in your daily note format, already nestled comfortably within a double-[ hug. The macr…

> [@Zen/focus mode with automation](https://forum.obsidian.md/t/zen-focus-mode-with-automation/3819):
>
> What this is Want to be able to do this? [2020-07-29 13.38.38] Do It Yourself Requirements Follow the tweaking instructions provided [here](https://forum.obsidian.md/t/simple-focus-mode-css-tweak/367) to develop a set of CSS that can recolour your interface so that only your active line is emphasized. You will need to have colours for your usual interface, and then faint versions of those colours for text you want dimmed. Instructions The basic logic of this automation is: on some trigger: find the obsidian.css file if the file already contains …

> [@Save and load workspaces (with Keyboard Maestro and macOS)](https://forum.obsidian.md/t/save-and-load-workspaces-with-keyboard-maestro-and-macos/4610):
>
> Here’s three macros for Keyboard Maestro on macOS. As ever, this is provided as-is, but I’ve tried to make it easy to set up. Change the location of the vault in the yellow action on each macro before use. [Save workspace](http://axle.design/files/_Save-workspace.kmmacros) Save Workspace asks you to specify a name for the current layout, then stores a copy of .obsidian/workspace in your Obsidian Vault in a new workspaces folder. [Open workspace](http://axle.design/files/_Open-workspace.kmmacros) Open Workspace asks you to choose one of the workspaces you’ve saved. It looks up the workspac…

> [@Toggle Andy mode (with Keyboard Maestro on macOS)](https://forum.obsidian.md/t/toggle-andy-mode-with-keyboard-maestro-on-macos/4612):
>
> I love the [magical Andy Matuschak mode](https://forum.obsidian.md/t/andy-matuschak-mode/70) enabled by @death.au’s CSS wizardry, but I don’t want it on all the time. This macro uses the same trick used in [Zen/focus mode with automation](https://forum.obsidian.md/t/zen-focus-mode-with-automation/3819) to edit obsidian.css to toggle Andy mode. It requires Keyboard Maestro on macOS. Edit the location of your .css file before using. Download it here: [Toggle Andy Mode](https://axle.design/files/_Toggle-Andy-mode.kmmacros)

> [@Transclude Me (KM macro on OSX)](https://forum.obsidian.md/t/transcludeme-km-macro-on-osx/3540):
>
> While curating one’s notes, it is not uncommon to realize that some portion of text in current note actually merits being its own new atomic ‘topic’ (note). TranscludeMe makes this easy: it cuts the selected text, replacing it with a transclusion link to a new note that contains the cut selection. TranscludeMe is a working proof-of-concept of a future Obsidian plugin (or better, feature), prototyped as a Keyboard Maestro macro. For me, it works well enough as a macro to be useful today as is;…

> [@Silly Keyboard Maestro URL Creator](https://forum.obsidian.md/t/silly-keyboard-maestro-url-creator/7177):
>
> This is the world’s smallest KM script, and it is custom to my vault name, but it could be useful. The trick is KM’s ability to alter clipboard contents. I’m just running the percentage filter so it adds all the necessary code for spaces and symbols in the name.

> [@A \*Keyboard Maestro\* macro to create \*Markdown\* links in different situations](https://forum.obsidian.md/t/a-keyboard-maestro-macro-to-create-markdown-links-in-different-situations/8037):
>
> You may have noticed how difficult/convoluted it is to create Markdown links, even with different helpers, plugins, etc. So I’ve come with a personal solution programmed in Keyboard Maestro. I’m offering it in the form of a macro library, attached. (I’m not at all familiar with this sharing part of Keyboard Maestro and I hope I did it correctly). → [Create Markdown link.kmlibrary.zip|attachment](https://forum.obsidian.md/uploads/short-url/y9oZrPqym9xQZ6MmwFbnDOGChlq.zip) (2.8 KB) The problem is that we have different configurations to adress, when we hit the “Make Link” k…

# Alfred

> [@Alfred - Obsidian Utilities](https://forum.obsidian.md/t/alfred-obsidian-utilities/8817):
>
> 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](https://github.com/macedotavares/obsidian-utilities) 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 he…

> [@Alfred Snippet for @mitzimbj's Daily Notes Breadcrumb Trail](https://forum.obsidian.md/t/alfred-snippet-for-mitzimbjs-daily-notes-breadcrumb-trail/3101):
>
> @mitzimb describes their [Daily Notes scheme](https://forum.obsidian.md/t/how-i-use-daily-notes/3057) including a breadcrumb trail created using espanso. I really liked the idea of the breadcrumb trail but I’m a dedicated Alfred user, so I made a Snippet to populate it. Here’s the snippet that will create the breadcrumb trail: \< [[{date -1D}]] [[{date +1D}]] \> which inserts this into the edit pane (imagine it’s purple except the \< and \>): \< [[2020-07-10 Friday]] [[2020-07-12 Sunday]] \> and shows like this in preview \< 2020-07-10 Friday 2020-07-12…

> [@Open Today's Note from anywhere on macOS with Keyboard Maestro or Alfred](https://forum.obsidian.md/t/open-todays-note-from-anywhere-on-macos-with-keyboard-maestro-or-alfred/3006):
>
> This is a trivial macro to build, but just in case someone else hasn’t considered it, I thought I’d share it here. If you’re on macOS, [Keyboard Maestro](https://www.keyboardmaestro.com) is an incredibly powerful automation tool. This little macro simply uses the keyboard shortcut assigned to Today’s Note to open it in Obsidian, and will work even if you’re currently working anywhere else on the OS. Here’s what it looks like: Using Keyboard Maestro’s URL triggers, it’s pretty easy to a…

> [@Quick actions in Obsidian from anywhere using Alfred on macOS](https://forum.obsidian.md/t/quick-actions-in-obsidian-from-anywhere-using-alfred-on-macos/3019/5):
>
> Obsidian 0.8.15 introduced URL scheme (“obsidian://” and “obsidian:///”) and it makes building Alfred workflows so much easier! I’ve created a really simple workflow that uses URL schemes to open vaults, open daily note, and search for notes (all notes, recent notes, or today’s notes). Download it [here](https://github.com/hauselin/obsidian-alfred/raw/master/Obsidian.alfredworkflow) and check out my [Github repo](https://github.com/hauselin/obsidian-alfred) for some instructions on how to set it up on your own computer. Edit: The workflow has been updated to work with Obsidian 0.9.0’s new url scheme.

> [@Toggle obsidian.css via Alfred on MacOS](https://forum.obsidian.md/t/toggle-obsidian-css-via-alfred-on-macos/7826):
>
> I wanted a way to toggle between monospace and sans serif fonts via keyboard shortcut. Thankfully Dean Jackson of the Alfred community got it up and running, it’s really nifty. To set it up you need to have 2 additional css files (reference files) next to your obsidian.css. These can be named whatever you like, you just need to make sure the script has the right file names. Now whenever the script is run, it will populate the contents of your obsidian.css with that of your reference files, toggl…

# Working with other apps

> [@Hook links now possible to underlying note](https://forum.obsidian.md/t/hook-links-now-possible-to-underlying-note/3523/3):
>
> Correct it is a workaround that was actually always possible - but this makes it easier and more elegant compared to the crude way I had to do it.

> [@Workaround for making \[\[Wikilinks\]\]-syntax compatible with Ulysses](https://forum.obsidian.md/t/workaround-for-making-wikilinks-syntax-compatible-with-ulysses/3270):
>
> The writing experience in Obsidian keeps getting better, but I really like writing in Ulysses: it’s beautiful, syncs fast between iPad and Mac, has great grammar and spelling support, enables merging/splitting notes, offers great export options, and it can be set to work with an external folder of Markdown files, such as an Obsidian vault. Unfortunately, it doesn’t play well with [[Wikilinks]]-syntax. One day, I hope that Ulysses will modify its quirky Markdown syntax to accommodate it, but for …

> [@Automation in DEVONthink: populate \`URL\` metadata fields with Obsidian's URL scheme](https://forum.obsidian.md/t/automation-in-devonthink-populate-url-metadata-fields-with-obsidians-url-scheme/6049):
>
> Incentive I index my Obsidian notes inside DEVONthink (DT) to take advantage of its algorithms to analyze the contents and suggest related documents to me. But when I’m viewing the indexed notes in DT, I often need to open it in Obsidian, which was cumbersome to do manually. After URL schemes were released, I realized I could reduce the friction in my workflow by somehow automatically populating the URL metadata field of the indexed notes with their URL schemes. This way, jumping from DT to Obs…

> [@Alfred Workflow: Opening Daily Notes with Date Breadcrumb](https://forum.obsidian.md/t/alfred-workflow-opening-daily-notes-with-date-breadcrumb/6587):
>
> This alfred workflow opens/creates a daily note with the Date on top (as a breadcrumb) as well as Opens the daily note in your Obsidian app. .md file would open as \< [[2020-10-03]] | [[2020-10-05]] \> Sunday, October 04 2020 Download: [AlfredWorkFlowLink](https://github.com/dayidp/alfred-obsidian/blob/main/ObsidianDaily.alfredworkflow)

# Good to Know

> [@macOS Text Replacement doesn't work](https://forum.obsidian.md/t/macos-text-replacement-doesnt-work/1269/2):
>
> Just for information: this is a known issue with Electron apps in general. Something to do with Electron not using proper macOS text fields.

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [July 12, 2020, 3:12pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/2 "2020-07-12T15:12:52Z")

</div>

Pinned on July 12, 2020, 3:12pm UTC



---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [July 12, 2020, 8:58pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/3 "2020-07-12T20:58:34Z")

</div>

Split this topic on July 12, 2020, 8:58pm UTC

A post was split to a new topic: [Changing Obsidian’s appearance on the fly with Keyboard Maestro](https://forum.obsidian.md/t/changing-obsidian-s-appearance-on-the-fly-with-keyboard-maestro/3148)

---

<div class="post-metadata">

**Author:** ![phlind](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/p/e36b37/32.png) [@phlind](https://forum.obsidian.md/u/phlind)\
**Post date:** [October 10, 2020, 7:36am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/6 "2020-10-10T07:36:06Z")

</div>

> [@Open note in Obsidian from within Vim and vice versa](https://forum.obsidian.md/t/open-note-in-obsidian-from-within-vim-and-vice-versa/6837):
>
> Hi, in case some of you also use or plan to use Obsidian and Vim (resp. vimwiki) side by side as two different viewports on the same notebase, this might be useful[^1] (the following describes solutions for macOS; maybe someone else could provide infos on how to do this on Linux or Windows): Open note in Vim from within Obsidian If you use Vim in iTerm, you can just create an App with Automator:[^2] -- TerminalVim.app -- This creates a shim Application that will enable you to open files from t…

Maybe this is relevant, since it talks about solutions for macOS specifically.

---

<div class="post-metadata">

**Author:** ![KevinR](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kevinr/32/1180_2.png) [@KevinR](https://forum.obsidian.md/u/KevinR)\
**Post date:** [November 13, 2020, 5:29pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/7 "2020-11-13T17:29:30Z")

</div>

This is a great great great thread. I’m thinking of buying Keyboard Maestro. Hoping these still work.

---

<div class="post-metadata">

**Author:** ![AutonomyGaps](https://forum.obsidian.md/user_avatar/forum.obsidian.md/autonomygaps/32/2462_2.png) [@AutonomyGaps](https://forum.obsidian.md/u/AutonomyGaps)\
**Post date:** [November 28, 2020, 8:58pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/8 "2020-11-28T20:58:25Z")

</div>

## How to take advantage of autocompletion (and aliases) when wiki-wrap existing text (with Keyboard Maestro)

When I’m wiki-wrapping existing text, it’s easy to select, hit `[[` and – boom! – that text is now a link. It’s magic. But sometimes, I’m not sure what the exact text is, or the text is “Luhmann” and I want it to link to a page entitled “Niklas Luhmann”, which has the alias, `[Luhmann]`. When I’m typing Luhmann, Obsidian’s brilliant autocorrection includes that option – [[Niklas Luhmann|Luhmann]] – but there is no autocorrection offered if you simply wrap the text.

But there is a simple workaround:

1. Select the text
2. ⌘X - Cut
3. `[[`
4. ⌘V - Paste

To make it even faster, I’ve created a Keyboard Maestro shortcut ⌘⌥`[` that cuts the selected text to a named clipboard, prepends `[[` and then pastes the cut text, at which point the autocorrection kicks in and you can see several possibilities. Here is a screenshot of the KM macro.

 ![Wiki-wrap selected text via cut-and-paste for autocompletion](https://forum.obsidian.md/uploads/default/original/2X/3/3f7476f5c62681dfa38dd9f16936e448a46978e5.jpeg)

---

<div class="post-metadata">

**Author:** ![ShaneNZ](https://forum.obsidian.md/user_avatar/forum.obsidian.md/shanenz/32/4048_2.png) [@ShaneNZ](https://forum.obsidian.md/u/ShaneNZ)\
**Post date:** [November 29, 2020, 7:21pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/9 "2020-11-29T19:21:02Z")

</div>

I’ve proposed this [Small but big QoL: When linking a pre-existing word or phrase, display the note suggestion menu](https://forum.obsidian.md/t/small-but-big-qol-when-linking-a-pre-existing-word-or-phrase-display-the-note-suggestion-menu/8811/6) as a feature for Obsidian, which is very close to what you’ve built for KM here. Thank you, I’ll be using this until (hopefully) the devs implement the feature request!

---

<div class="post-metadata">

**Author:** ![dsteinbock](https://forum.obsidian.md/user_avatar/forum.obsidian.md/dsteinbock/32/3996_2.png) [@dsteinbock](https://forum.obsidian.md/u/dsteinbock)\
**Post date:** [November 30, 2020, 5:44am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/10 "2020-11-30T05:44:43Z")

</div>

This is a great little workaround! I re-created it as an Alfred workflow in MacOS:

![Screen Shot 2020-11-29 at 9.41.43 PM](https://forum.obsidian.md/uploads/default/original/2X/d/d2eb7902574f2c6897f8598671bf5e353ac8b3d1.png)

---

<div class="post-metadata">

**Author:** ![dsteinbock](https://forum.obsidian.md/user_avatar/forum.obsidian.md/dsteinbock/32/3996_2.png) [@dsteinbock](https://forum.obsidian.md/u/dsteinbock)\
**Post date:** [December 4, 2020, 1:05am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/11 "2020-12-04T01:05:45Z")

</div>

Here is my Alfred workflow file itself for importing:

> **[Obsidian wiki-wrap text.alfredworkflow](https://www.dropbox.com/s/tvzwzi090ang1it/Obsidian%20wiki-wrap%20text.alfredworkflow?dl=0)**
>
> Shared with Dropbox

---

<div class="post-metadata">

**Author:** ![leonid.schmidt](https://forum.obsidian.md/user_avatar/forum.obsidian.md/leonid.schmidt/32/11722_2.png) [@leonid.schmidt](https://forum.obsidian.md/u/leonid.schmidt)\
**Post date:** [March 31, 2021, 7:57pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/12 "2021-03-31T19:57:57Z")

</div>

Is it just me, or is KM unable to move or resize Obsidian?

---

<div class="post-metadata">

**Author:** ![danlandrum](https://forum.obsidian.md/user_avatar/forum.obsidian.md/danlandrum/32/14130_2.png) [@danlandrum](https://forum.obsidian.md/u/danlandrum)\
**Post date:** [March 31, 2021, 11:45pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/13 "2021-03-31T23:45:04Z")

</div>

Working here. Any chance you’re in full screen mode?

---

<div class="post-metadata">

**Author:** ![leonid.schmidt](https://forum.obsidian.md/user_avatar/forum.obsidian.md/leonid.schmidt/32/11722_2.png) [@leonid.schmidt](https://forum.obsidian.md/u/leonid.schmidt)\
**Post date:** [April 1, 2021, 2:12am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/14 "2021-04-01T02:12:04Z")

</div>

No, I’m actually I’m trying to get it to open in fullscreen! 😃 I’m a KM novice, just testing it out. I have no problems getting the actions to work with other programs.

Maybe someone can help me out. I’d like to start the day with Obsidian and Safari side-by-side, with Safari opened to a particular URL and Obsidian opened to the daily note. Extra points if it opens to a particular workspace. How would you approach this?

---

<div class="post-metadata">

**Author:** ![danlandrum](https://forum.obsidian.md/user_avatar/forum.obsidian.md/danlandrum/32/14130_2.png) [@danlandrum](https://forum.obsidian.md/u/danlandrum)\
**Post date:** [April 1, 2021, 11:14am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/15 "2021-04-01T11:14:34Z")

</div>

Here are the steps, substituting “workspace1” in the next-to-last action for the name of your desired workspace. I have the Obsidian hotkey for Load Workspace set to ⌘1.

 ![CleanShot 2021-04-01 at 07.06.15](https://forum.obsidian.md/uploads/default/original/2X/e/ea08fe9a21e7504935a217991d6efa539f2f51c4.png)

---

<div class="post-metadata">

**Author:** ![leonid.schmidt](https://forum.obsidian.md/user_avatar/forum.obsidian.md/leonid.schmidt/32/11722_2.png) [@leonid.schmidt](https://forum.obsidian.md/u/leonid.schmidt)\
**Post date:** [April 7, 2021, 3:47pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/16 "2021-04-07T15:47:10Z")

</div>

Thank you! This is great.

---

<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 19, 2021, 10:42am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/17 "2021-05-19T10:42:40Z")

</div>

Here is my first attempt at Obsidian Mac Automation, hope it is of interest.

> [@Keyboard Maestro Daily Journal Template](https://forum.obsidian.md/t/keyboard-maestro-daily-journal-template/18350):
>
> 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. …

Iain

---

<div class="post-metadata">

**Author:** ![krzemian](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/k/f14d63/32.png) [@krzemian](https://forum.obsidian.md/u/krzemian)\
**Post date:** [December 13, 2021, 9:40pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/18 "2021-12-13T21:40:51Z")

</div>

> [@KM Macro to add a new line above/below the current one](https://forum.obsidian.md/t/km-macro-to-add-a-new-line-above-below-the-current-one/28551):
>
> I finally purchased Keyboard Maestro and can indulge in creating loads of more or less useful shortcuts. For this one, I quite often find myself in need to add a new line (i.e. in a numbered list) right above or below the new line, but it requires moving the caret/cursor to the end of the line. Here I implemented 2 handy shortcuts to create a new line above (cmd+shift+enter) or below (cmd+enter) the current line, even if the caret/cursor is placed in the middle of the text. Enjoy! [https://dri…](https://drive.google.com/file/d/1WRLpErWrZds_wDS5lul8rHK0R0MLQmGu/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [June 19, 2022, 1:42am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/19 "2022-06-19T01:42:29Z")

</div>

> [@Obsidian Shortcut Launcher: Selected Text + Drafts actions + Shortcuts](https://forum.obsidian.md/t/obsidian-shortcut-launcher-selected-text-drafts-actions-shortcuts/31391):
>
> There’s an amazingly powerful new plug-in that Federico Viticci and Finn Voorhees just posted, called “Obsidian Shortcut Launcher”. It allows macOS/iOS/iPadOS users to run Apple Shortcuts on input from within Obsidian. I’m particularly excited about using this plugin to access the powerful actions in Drafts, which can be run via Shortcuts, and now with selected text in Obsidian as the input. The sky’s the limit. For a recent discussion of this plugin, you might like to listen to Federico discuss…

(The thread doesn’t go into the detail suggested by the title — it just calls attention to Obsidian Shortcut Launcher and one class of its possibilities.)

---

<div class="post-metadata">

**Author:** ![Andrew1](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@Andrew1](https://forum.obsidian.md/u/Andrew1)\
**Post date:** [September 18, 2023, 1:22pm UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/20 "2023-09-18T13:22:53Z")

</div>

I use Espanso.  
I have an expansion called e-edit… Which opens  
subl to edit the Espanso confog files,  
Then another expansion to make a new entry.

Hook needs A LOT more attention.

Want to reference a file to someone? Hook to that file on the server, create a hook file and send it to them over WhatsApp or whatever

---

<div class="post-metadata">

**Author:** ![jms1](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jms1/32/57852_2.png) [@jms1](https://forum.obsidian.md/u/jms1)\
**Post date:** [July 15, 2024, 11:26am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/22 "2024-07-15T11:26:57Z")

</div>

I wasn’t aware this thread existed … my response in [this thread](https://forum.obsidian.md/t/automatically-converting-keys-to-links/82585/2) might fit in the Keyboard Maestro list above. It shows a macro where, if I type `[ABC-123]` (a jira ticket number) it automatically types `(https://xxx.atlassian.net/browse/ABC-123)` to turn it into a link.

---

<div class="post-metadata">

**Author:** ![hkdom](https://forum.obsidian.md/user_avatar/forum.obsidian.md/hkdom/32/40498_2.png) [@hkdom](https://forum.obsidian.md/u/hkdom)\
**Post date:** [May 22, 2025, 1:11am UTC](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129/23 "2025-05-22T01:11:48Z")

</div>

Great threads! Learned a lot 🙂

[Next page](https://forum.obsidian.md/t/using-and-automating-obsidian-on-macos-meta-post/3129.md?page=2)
