Something I’ve been hoping for for a long time is the ability to get a (sharing) link to my Shortcuts with Shortcuts – and with the latest developer beta of iOS and iPadOS (beta 2) it can be done!
Thankfully this is fairly simple to do, there are just 6 actions required to get a list of all your Shortcuts as Markdown links:
- Get my shortcuts
- Repeat with each item in
My Shortcuts
- Get link to
Repeat Item
- Text: [
Name
][Link to File
]
- Get link to
- Combine
Repeat Results
withNew Lines
- Share
Combined Text
.
There is one caveat to this: Unfortunately you need to confirm getting the link to each Shortcuts from a prompt which appears.
Download the Shortcut: Get Shortcuts as Links
Now if you’ll excuse me I’m going to go and watch Netflix and tap the same prompt 900+ times.
Update! I’ve been experimenting and there’s also a way to just tap “Create Links” once: Get Markdown Links to Shortcuts – you get the links first and then iterate through them grabbing the names of the associated Shortcuts. As long as the order of the Shortcuts remains constant this is a much more user friendly workaround.
Paging @viticci, @MacSparky and @mattcassinelli
This is pretty neat! Wish there was a way around not having to tap create link for every Shortcut – but much faster than doing it the other way!
Much faster than doing it any other way!
Isn’t the share button new too?
That’s also just how this one was designed – passing multiple into Get Link to File means you only have to tap once, but you can’t get the names from the URL
Is this the current iOS beta or the beta for the version of iOS after the current beta is released ? To clarify I mean is it the next version of iOS after the version to replace the current version is released ?
This is the latest beta (13.1 dev beta 2)
Surely that’s the technically the next beta 🤔😜😂
How on earth did you discover this and create this shortcut so fast?
I’ve had this as a “test after installing beta” shortcut since last summer 😉
Amazing. Thanks for doing so!
AMAZING!!!!!! YES!!!!!! – Is it confirmed that if you delete a Shortcut they are stored on Apple’s servers if you do this first? Would you trust this as a backup since we don’t have that anymore of the actual files?
So if you dig into the API you can tell if the Shortcut is still installed or not. And the URLs don’t go away – so it should work perfectly as a backup. I won’t guarantee it though, but I’m 99% sure it will!
Yes, you have to manually use Stop Sharing to remove it from iCloud – it’s always been the case that sharing creates a duplicate on the servers
Awesome! Will need to make sure I import all my old shortcuts into iOS 12 before upgrading so I can then back them up with this!
Sounds like an option to get into infinite-loop 😎