These are absolutely fantastic. They do exactly what I wanted iOS shortcuts to do. Thank you for sparing me the ongoing frustration of trying and failing to code these myself. The web clipper is the best of its kind I’ve seen.

Seriously, these are game-changing for my use of Obsidian. If and until we get an official Sharesheet extension, these are the go-to shortcuts. I simply could get any of the others to work. You have my thanks!

1 Like

I’m using a numbered folder system to separate different areas(10. Research/ 11. Project X) and I use the “folder note” plugin to create index notes for each folder where I store tasks for that area/project. I would like to come up with an IOs shortcut that does not simply create a task but also let me select which of the folders this should be allocated to. Does anybody if this is possible?

This is brilliant, Ryan - thank you!

1 Like

Did you ever figure this out?

An accented character e.g., ê will need to be URL-encoded for it to work in a URL scheme. So your URL should actually be something like:
obsidian://new?name=Demo123&content=%C3%AA

where %C3%AA will become ê once the URL scheme is launched.

In Shortcuts, you can use the action “URL Encode” to encode any piece of text like this. Pass the result of that action to the shortcut instead of your human-readable text and it should work no problem.

I was under the impression that shortcuts is sandboxes and can only access files inside the iCloud Drive/Shortcuts folder? Did you move your Obsidian vault into that folder to get around it?

I combined your “take a memo” with @ryanjamurphy’s “append from airmail” using the advanced URI plugin to append the dictated memo to the daily note.

https://www.icloud.com/shortcuts/e38d48329ff445c78b83ec9125d25773

preview on showcuts

The downside is that it requires unlocking the iPhone for the memo to be appended.

Not anymore. If you have a File action, you need to specify the container. It will say “Save [file] to Shortcuts,” but you can select Shortcuts and replace it with a folder of your choosing (in iCloud, I believe).

1 Like

Fantastic!
With that I can append text from Siri to the Daily Note without having to unlock the phone.

https://www.icloud.com/shortcuts/e317a2b49c1248509a28eb6e0fdf8bc1

Thanks!

When setting this up to add to daily note do you need to type this {{today}}.md. ?

Yeah, you need to add .md. (I think that’s what you’re asking?)

when i enter the path to today file it responds with unable to open. I even downloaded the Show Current File Path plugin to ensure I was entering it correctly

Use a Show Alert action to examine what your trying to do.

Remember that the shortcut I posted above was just for show. I didn’t test it.

This one does:

https://www.icloud.com/shortcuts/4c91d9a5eae344c18b7145dae821cb7b

Thank you. That works a treat

1 Like

Does anyone have a shortcut that will open a specific weekly note? Im assuming I might be able to achieve this with the Advanced URI plugin and an open url action but just not sure how to format it.

A specific weekly note as in the same note every time? Or a specific weekly note as in e.g., a menu to open the current, previous, or next weekly note?

1 Like

Like a menu: previous week, this week, next week.

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