Apple Shortcuts - Share your ideas!

Hi I tried this shortcut.

It works fine for web pages and images.

But when I am saving a PDF - it is saving the PDF in obsidian folder and in the daily note all the text of PDF is also stored instead of just name of the PDF. Ideally it should ask the input text like it asks for the web URL saving.

Not able to figure out where is the issue.

Similarly while saving other assets like image also it should ask the input text.

Thanks.

here’s a shortcut: takes any input or dictation and appends it to your daily note, with the location or wifi, time, and lat/long. have been using it enough to make it quick and not crash when you’re on airplane mode

https://www.icloud.com/shortcuts/951f558892b149e2aad6c5f9d23aff41

3 Likes

I would like to have shortcut to include the location information automatically. But it would make the shortcut fail if airplane mode. How to fix it to automatically check if no data plan available, just skip the location part.

Please help me to figure out what should I add here to make it work?

Apple Notes Handwriting to Obsidian Daily Notes

This shortcut allows you to edit and draw in Apple Notes, and keep an image of those drawings synced and updated in Obsidian. It will also automatically append an imbed to the daily note that corresponds to the creation date of the handwritten note. Add this shortcut to your shortcuts, fill in the preamble questions about structure and folder saving, and then add it to run on closing the Notes app. The best part is no plugins or extra apps required!

Requirements

  • Folder structure of something like /Daily Notes/year/month/mm-DD-yyyy.md . It currently won’t work if all your daily notes are in one folder, although you can edit the shortcut to make it work

  • This shortcut also relies on saving a temporary file, it will just keep on overwriting this file if needed, but to make it neat I have it delete it as soon as it’s done. However Apple doesn’t really like this and if you don’t want to be warned about deleting the file every time the shortcut runs you need to allow file deleting in system preferences/shortcuts/advanced

Issues

  • Currently it will only sync one note (the most recently modified note) but I am sure the potential is there to sync multiple, I just haven’t got around to it.
  • I have not tested it with Notes that have multiple handwriting sections, and it likely won’t work with them yet. Not my use case. But I am sure it can probably be adjusted to work.

Future planning

  • I am happy with the shortcut in it’s current state, but if there is interest I may look at solving the issues above, and I also think it could be possible to include Apples OCR in some way to export alongside the image; making searching in Obsidian easier.
  • Also really happy for anyone to edit and add these features too! Just credit me somewhere :slight_smile:

Hope this helps someone! Getting prepared for auto hand-writing refining and math notes in iOS 18!

1 Like

Hmm should have tested this^^ a bit more before publishing, seems like it only works on my iPad on the iOS 18 dev beta… Anyway here is a version that relies on using the share sheet from Apple notes, not as good as the “automatic sync” if you can get that working but at least it’s not relying on a likely bug…

Again to use this the note must be the most recently modified note, you then activate the shortcut from the share sheet. It will automatically append the embed to the end of the daily note, and will even link that image to open the handwritten note in Apple Notes

1 Like

it seems like “to obsidian” would solve my challenge to get PDFs into Obsidian (How to get obsidian to show up in the iOS "share tray" for PDFs), but unfortunately it’s not working for me.

anyone have a simple shortcut that just takes whatever is in the share tray and copies it into obsidian?

i made a very simple one that takes anything from the share tray and moves it into the obsidian folder

https://www.icloud.com/shortcuts/0e81b6dae7c14ceb9924d22297fe2691

just change the folder name.

(see: How to get obsidian to show up in the iOS "share tray" for PDFs - #3 by raymond.weitekamp)

1 Like

Some of you were asking for a note drop that didn’t require Obsidian to run. This does that by dropping files into an “Inbox” folder within your vault. The note is just a file added to your OS, so it’s just there when you next open Obsidian. Hope that helps.

Also, you can run shortcuts on your phone via Siri, or my favourite is to make a button for the homescreen that triggers it. In this case, you get an upper-third text box and keyboard. This means you can also tap the mic button to dictate.

2 Likes

Save Article to Omnivore from Share Sheet - A two-step Shortcut

tl; dr - by creating a Shortcut that takes URLs from the Share Sheet and opens them in a web view, you can still save the full content of an article from an app that paywalls their content directly into Omnivore without leaving the app or having to resave content in Omnivore from your computer.

NOTE! THIS IS NOT TO HELP YOU BYPASS A PAYWALL, ONLY SAVE CONTENT FROM APPS THAT REQUIRE AUTHENTICATION! PAY FOR YOUR CONTENT UNLESS YOU WANT MORE ADS IN YOUR FACE! END OF RANT!

Here’s the shortcut and the setup:

Step 1: Go into Safari and signed into the website that will be the source of the content you want to save. This is so when you open the web view, you’ll be signed in.

Step 2: Create this Shortcut and tap the info “i” at the bottom and turn on “Show in Share Sheet”.


I set the only valid input type to URLs because both Washington Post and WSJ pass both the headline and the URL whereas NYTimes only passes the URL. This saves you a tap so you don’t have to tell it to use the URL if more input types are passed.

Step 3: Go to the native app for the site and tap a link. Then tap the Share button to launch the Share Sheet.

Step 4: The Shortcut should be in the list of options. If you want, you can move it into the Favorites so it’s always at the top. Tap it to open the content in a web view on top of the native app.

Step 5: Tap the Share button again and then Share it to Omnivore as you would in the browser.

Step 6: Rejoice because you can now read that full article in Omnivore at your leisure!

Backstory for those who care:

Omnivore quickly became part of my daily news reading-to-Obsidian workflow a few months back. It essentially works by scraping the content out of your browser and saving a static version of said content for you to then read later/annotate and then import into Obsidian via plug-in

But I quickly ran into an issue on iOS. When using Omnivore’s native Share Sheet saving in apps like NYTimes, Washington Post, and WSJ, I would only get part of the content saved. After thinking about it, that made sense: since Omnivore’s save functionality just parses the content out of the browser, if it’s makes the call to the web page on its own then it’s seen as unauthenticated and hits the paywall.

After some searching around to see if I was missing something or if someone had already solved the problem, I found a few people who had resorted to what I had been doing: save the article knowing it would be truncated and then go back into Omnivore on their computers, reopen the original article, resave via their browser extension, and then you’d have the full content. Well, with the number of articles I save as I’m multitasking to get breakfast made, kids to school, myself to the office, and then finally getting to read them eventually those repetitive resaving tasks were going to add up to a lot of time.

I posted in the Omnivore Discord and got no response. I did find a few posts in their bugs and feature requests channels but no one had any better ideas. So knowing that I wasn’t the only one who had a workflow for Omnivore-to-Obsidian transfer, I moved over to the Obsidian Discord and asked if anyone else had tried to solve this! @Sigrunixia suggested a Shortcut-based approach and after some research and experimentation, I landed on the solution above!

Also based on Sigrunixia’s suggestion, I’m posting this here for posterity and also so Google will index it and hopefully, save someone else all that time! In theory, this should work for any app that’s really just another front-end for content behind authentication of some kind (Medium and Substack come to mind) but I haven’t tested it there yet. The good news is that since the web view handles the authentication, the Shortcut shouldn’t need to be updated.

1 Like

OK, I found one issue that I wanted to post an update about: depending on what the Share Sheet actually shares, you may need to change the input type to Text. After more testing this morning, I discovered that since NYTimes passes the URL as Text, when the input type was set to URLs, the Shortcut disappeared from the Share Sheet in the NYTimes app.

If neither of those work, hidden at the bottom of this page is a paragraph telling you to create a Shortcut that shows the Content Graph which will tell you which input type to choose.