MacOS Shortcut update

This is exactly what I’m trying to do—to be able to dictate ideas into Obsidian while I’m on a bike, and my hands aren’t available. I was going to ask how to save a file to the Obsidian vault when you don’t have access to the folder, but I see now that the Obsidian folder is accessible in my local phone files.

  • Is there a way to specify different base paths on iPhone/watch/Mac?
  • If I move the vault on my Mac to an Obsidian folder under my user folder, will the same path work?
  • Once I dump the file into the appropriate Obsidian folder, how do I get Obsidian to sync the file? I’m guessing I need to run the app on whatever device I used to dictate the note. Will that work on my watch too?

This is my original post asking about using Drafts to send notes to Obsidian.

  • My original plan was to use Drafts to set the note title and add YAML.
  • I can pull the creation date in Drafts, which ensures that the file name and creation date/time agree exactly.
  • If I can access the Obsidian vault folder in Shortcuts, I may be able to do it in Drafts. That’s a bit more complicated because of sandboxing, but Drafts has a workaround.
  • I may be able to set the YAML in Shortcuts as well, so long as I can figure out how to edit the text of the note.
  • I’m setting the filename to the current time, down to the second, so I’ll need to set a filename variable to keep it from varying across actions.
  • If the file is created at a slightly later time than when setting the filename, then the creation date/time won’t agree with the name.
  • Is it possible to pull the file creation date/time in a shortcut?

Thanks for the idea—this will probably solve my problem; I just need to get more comfortable with Shortcuts.

1 Like