It would be easy to do this for existing notes. You just need a way of programmatically creating the file name for the note, and then you’d just tell the Obsidian URL scheme to open that file.

The following shortcut should be easily modified to do this:

https://www.icloud.com/shortcuts/8b3b1bbf7f3d42e6996fd04c4403a2f9

I don’t know exactly what kind of string you need to provide in order to get it to fit with the name of your weekly note, but it should be possible. Share an example weekly note name and I can think about it, if you can’t figure it out yourself.

Getting a shortcut to create the weekly note if it doesn’t already exist it’s also possible, but it would be much more involved. You would need to have someway of detecting my data file already exists, and then if it doesn’t, you would need to invoke some kind of macro — or embed the template for the weekly note directly in Shortcuts — in order to create it properly.

1 Like

Has anyone been able to get the ‘Clip to Obsidian’ shortcut to work on MacOS? (Monterey)

It shows a “Safari Reader is unavailable” error every time I try to use it.

Same error shows regardless of source. Safari is my default browser.

Unfortunately, many of Safari’s iOS Shortcuts actions are not yet available on macOS. There might be some other way of making it work, but it’d be a hacky workaround. Something like “if on macOS, do this, if on iOS, run the shortcut as it currently exists”.

Is anyone aware of a reliable web clipping solution for Safari on MacOS?

Ideally it should:

  1. Support clipping selected text & images as well as clipping the whole page

  2. Automatically title the new note based on the title of the page

  3. Be configurable wrt tags and other metadata or frontmatter.

Nice-to-have: support clipping of selected text from other apps (e.g. spark email)

1 Like

I have several Shortcuts that help me keep my daily note/journal updated throughout the day. The one that gets used the most is my habit tracker.

Because Obsidian is just a text file, I don’t even use Obsidian mobile for this, it just grabs the contents of the text file, modifies it, then resaves it back to the original location. I keep all the habits in the YAML front matter, and present it on the page in a table using Dataview. I also keep a monthly table on a “Dashboard” page that shows my habits over the course of a few weeks.

Here’s what it does:

  1. Get today’s note from my “Dailies” folder (you’ll need to change this if you use it)
  2. Split the text at the “—”
  3. Grab the second item of the split text (this is everything between the "—"s. It’s a few more lines than just my habits, but this way as the habits I’m tracking change, I won’t need to update the Shortcut)
  4. Split that by new lines, this puts each line of the YAML as its own object in Shortcuts.
  5. Choose from list. (By using the actual document to create the list on the fly instead of programming the list in Shortcuts, the options can change as the habits I track change, and I get the added benefit of seeing what I’ve already completed)
  6. Save that as a variable to use later in text replacement
  7. Present another list of emoji icons. I rate each habit on a 1-5 scale using colors.
  8. Replace the text in the file (ex. replace “meditation:” with “meditation: :green_circle:”)
  9. Save the file back to original location.

I should really write this up on the blog…

https://www.icloud.com/shortcuts/5fc5aa7bb83a42ada5841d91a3aa07e8

1 Like

As reply to:
@TheMathGuyd
@hakan8585

I know it’s already 1 year ago, but still … :slightly_smiling_face:
If you change this part it will work: