/r/shortcuts

Photograph via //r/shortcuts

This subreddit is devoted to Shortcuts. Shortcuts is an Apple app for automation on iOS, iPadOS, and macOS.

About the Subreddit

This subreddit is for the Shortcuts app for iOS and macOS. This app allows you to create and share Shortcuts. Shortcuts are scripts that automate tasks. These can be triggered manually or through Siri, and in some exceptional circumstances they can be triggered through external inputs. (Like NFC)

This subreddit is for:

  1. Discussion of the Shortcuts app
  2. Sharing Shortcuts you made or found online
  3. Getting help with Shortcuts

Chat Rooms

Discord

Telegram

Rules

In addition to Reddit's rules, this subreddit has some additional rules:

Rule name Description
Rule 1: Stay related to Shortcuts. Content without any significant commentary relevant to the Shortcuts app and related features may be removed.
Rule 2: Don't link to illegally hosted content. Do not include links in your posts or shortcuts to places that violate copyright law, such as torrent sites or free streaming sites.
Rule 3: Use Imgur/Gfycat/Reddit to host media. You should only use Imgur, Gfycat, or Reddit to host media, such as screenshots, GIFs, and videos. See rule #5 for information on how to share links to shortcuts.
Rule 4: Be civil. If what you want to say is not civil, please do not post it at all.
Rule 5: Shortcut posts must include a shortcut link. All posts marked with the 'shortcut' flair must have a link, whether it is as the URL provided in a link post or somewhere in the body of a text post. Links can be to iCloud or RoutineHub.
Rule 6: Shortcut posts must fully describe the shortcut. All posts marked with the 'shortcut' flair must have an explanation of the shared shortcut. This can be in the body of a text post or in a comment on a link post. Shortcuts that maliciously conceal the purpose of high-risk actions (such as send message) violate this rule. Post titles requesting help must include a description of the help being sought.
Rule 7: Shortcuts should be shared through a trusted site To ensure safety and authenticity of shared shortcuts, we ask that all shared shortcuts use an iCloud link or RoutineHub link. Make sure to share the original link if it is not your own shortcut you are sharing. Regenerating a link for someone else's work makes it hard to know if it was modified in some way, and it also doesn't gain their shortcut another download (shortcut sharing site).
Rule 8: Use post flair properly When setting your post flair, consider the options before setting it: If you are sharing a shortcut, then choose 'Shortcut Sharing'. If you need help, use 'Help'. Please also be sure to set the post flair to 'Solved' when your request or help item has been resolved. This helps to reduce the number of posts that end up in the 'Help' and 'Request' filters. If you are sharing a tip or guide, use the 'Tip/Guide' flair.

Filter Posts by Flair

Announcement Discussion News

Help Help (Mac)

Request Request (Mac)

Shortcut Sharing Shortcut Sharing (Mac) Shortcut Sharing (JB)

Tip/Guide Tip/Guide (Mac)

Related Subreddits

Important Information

  • As of right now, some automations must be confirmed in order to run.
  • Please search the sub before posting. Your question probably has already been asked!

Check out our wiki and its FAQ page for more information.

Reddit \ Hot \ New \ Top \ Message The Mods

/r/shortcuts

431,032 Subscribers

1

Keep oriention locked/ while in specific App? (instead of 'when opened')

maybe it's a bug. not sure.

but when I have automation to disable/enable orientation lock when an app is opened or closed, I noticed a flaw.

if I lock screen while app is open, it behaves as if the app closed. cool.

if I unlock screen, and because the app is already opened, it DOES NOT behave as if the app opened, and thereby does not trigger the Automation. which is odd because when it's opened, I can swap to different app and back, and it'll behave as if it opened. Unlocking does not behave as if the app opened.

is there some workaround/filter to this that can allow me to setup a Shortcut to look for more specific details?

0 Comments
2024/12/20
21:20 UTC

2

Check For Update (The fast any easy way to add an update function to any shortcut)

This post includes previews of the starting and ending portions, as well as multiple other photos of my shortcut at HD quality. If you have a slower internet, these images may not load at full quality or at all.

--------------------------------------------------
Check For Update (Download Link)

--------------------------------------------------

Have you ever wanted your shortcut to check for an update, but either didn't understand how to do it... took to long, or maybe (like me) your tooo lazy to do that!

Well do I have a solution for you! All you have to do is implement these 6 actions into ANY SHORTCUT you like, and as long as there is a link to the shortcut on RoutineHub then your good! My shortcut has it's own menu as well to prompt users whether they want to:

  • See Release Notes & Install
  • Install New Version
  • Do Not Install Update

There may be a time when this adds the action to the shortcut so that you wont need download the shortcut, but I'm too dumb for that.

This shortcut also returns a true statement, so if you want the user to see whether or not the shortcut is up to date or not!

--------------------------------------------------

Important Warning

Never use theses words (as they are typed, abreviating the words will not break the shortcut) Latest Release, Feedback, iOS, nor Version when you update your shortcut (for the release notes), as this will break the Release Notes portion of the shortcut.

--------------------------------------------------

How To Implement with 6 actions!

https://preview.redd.it/l693gtdve28e1.png?width=2880&format=png&auto=webp&s=e949d9e4d9aef63feea509f68f07b7a2a6e9c807

Implent photo I use the Dictionary action so that I can use less set variable actions. To use Dictionary variables simply set variable of the Dictionary to any name you want, then when you select (in my example I use) LocalData and it will open variable options. Set the key to to a key in your dictionary and press enter or return to "activate".

This is very important In order for the import of data to actually work, you must set your text action up in this order:

  1. <name of shortcut>
  2. <current version of shortcut>
  3. <link to the shortcuts download page on routinehub>

--------------------------------------------------

How To Implement (check for return)

https://preview.redd.it/mnt4os8ue28e1.png?width=2880&format=png&auto=webp&s=89a5b6bdac76558ce2e3f775e76011fb59f41da6

With return steps 1 to 3 The if <run> has any value is checking if the shortcut Check For Update was installed.

https://preview.redd.it/t8wdgqloe28e1.png?width=2880&format=png&auto=webp&s=662b908279ccad49603b8c37b8917c53653807a6

with steps 4 to 6 The if <boolean> has any value is checking the return statement of Check For Update. If true is returned, than the shortcut is Up to Date, otherwise it is out of date.

--------------------------------------------------

How it looks with the check for return

https://preview.redd.it/ay5bkolle28e1.png?width=2880&format=png&auto=webp&s=6b06a39acc9a2078c2bc6eca23dc41d3c41fb720

How it looks Thsi is a shortcut that I am currently working on, please ignore.

--------------------------------------------------

How the install menu looks to the end-user

end-user means the person using the shortcut.

https://preview.redd.it/5y9luyice28e1.png?width=2880&format=png&auto=webp&s=c5750e7dd9f351e4dc2303e6cd054be366fa98e4

Credits (and special thanks to):

https://preview.redd.it/2lqqkssah28e1.png?width=4227&format=png&auto=webp&s=32134243a689bff17924742d205d444c003b901a

https://preview.redd.it/v159wa1ch28e1.png?width=7098&format=png&auto=webp&s=51cd433a726c20dd64ccec59d561716f5ad7719d

https://preview.redd.it/p0f1g66dh28e1.png?width=6444&format=png&auto=webp&s=26decacbd6362b793b5a963f2d465cb206b07690

Important information:

https://preview.redd.it/l34e87aeh28e1.png?width=5403&format=png&auto=webp&s=d3df57c551dc584c6cbe5f45ac49a80514a0a2cb

Exclusivaly available on RoutineHub.co If you see this on any other platform (unless the download link redirects to here), please let me know (using the feedback option) and I will get it removed.

0 Comments
2024/12/20
20:47 UTC

1

Is it possible to create a shortcut to scan prices from Walmart and target then output it to ChatGPT

That way ChatGPT would be able to make a table of the cheapest scanned prices to price match them and possibly remember it for future reference

1 Comment
2024/12/20
20:42 UTC

1

Copy Apple note and retain formatting

I'm trying to copy an Apple Note from one folder to a different folder in Notes app. This is easily done in Shortcuts. But the formatting of the original note is not retained.

How can I retain formatting of original note when creating new note?

1 Comment
2024/12/20
18:35 UTC

1

Shortcuts for Reduce Motion & Transparency

I have created a automation in shortcut app for turn on low power mode if bettery drop below 25%. Now i want to add Reduce Motion and Transparency in same automation which and run along with turning on low power mode. Please help me, Reduce Motion and Transparency is not showing in option.

Thanks

1 Comment
2024/12/20
17:55 UTC

1

Healthkit / water logging permissions issue

I'm trying to write a simple shortcut to log water and it's giving me an error.

https://preview.redd.it/m4sfd0ct818e1.png?width=742&format=png&auto=webp&s=cc543a1484f6b6138d88f34c1ed8074a3a0ae359

https://preview.redd.it/dh48gu14918e1.png?width=774&format=png&auto=webp&s=01862353802c4603fab37676b725dad5520d53ad

I tap 'allow access' and it shows the correct form, but when I run the shortcut it gives me a permissions error and reverts to not allowing me access again.

https://preview.redd.it/4estrpy5918e1.png?width=782&format=png&auto=webp&s=1f27237120ffe805334926efdc5aaf3afd70c948

5 Comments
2024/12/20
16:48 UTC

3

DVD Backup -Automated DVD ripping

This shortcut uses the Programm DVDbackup to copy a DVD to your hard drive.

The first folder you select will be used to store the DVD files. The next “folder” will be the DVD itself. The diskutil | grep command will get the disk identifier from the DVD (for example disk5)

If you have homebrew installed simply run

brew install dvdbackup

In your terminal to install dvdbackup to get the path where it is stored (on Intel Macs and if you installed it differently) simply type

which dvdbackup

Into your terminal and paste the output into the text box when importing the shortcut.

The shortcut will make an entire copy of the DVD into a new folder in the folder you specified and name it the same as the disk. Thai also only works with DVDs not Blu-Rays as they use a different encryption system.

Sharing link: (https://www.icloud.com/shortcuts/e0fd674bf75a430c8f6f98447db137dd)

0 Comments
2024/12/20
15:44 UTC

1

Last.fm API query about recommended artists/albums

I’m looking to take last.fm recommended albums and/or artists and add them to an Apple Music playlist.

Can anyone share any insight about how I can get my last.fm recommendations to process them in Shortcuts so I add only items that are not already in my library.

If relevant, I’m also using Marvis Pro and MusicHarbor. I’ve downloaded the free version of Toolbox in case that can help me.

TIA

4 Comments
2024/12/20
14:28 UTC

1

Help with shortcut to import event from screenshot to calendar

as in the title, I have an issue because I am trying many days to create one shortcut. I tried to get chatGPT content from the screenshot, then subtract title and the date and add it to my calendar automatically. However, I encountered some issues. I am stuck now. Can anyone help me or did this before?

TLDR: the main goal of this shortcut is to get automation of creating events in calendar using screenshot, then ChatGPT and then all magic should happen to my calendar with shortcut app

EDIT: This is my shortcut from today, any tips or ways go go further? Add new event shortcut

2 Comments
2024/12/20
13:39 UTC

1

[iOS 18] Face ID Authentication with Native Actions

I haven’t seen a similar shortcut posted so here’s my simple attempt at authentication. This shortcut requires Safari to be locked behind Face ID, that way when the Safari action runs in the shortcut, you will need to authenticate via Face ID, otherwise the shortcut fails and stops running.

First long tap on the Safari icon and enable Require Face ID. Then, run the shortcut inside another shortcut or automation.

A downside is that authentication failure can’t be handled as the shortcut will error out. But if you just want a simple solution, it should do fine.

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

1 Comment
2024/12/20
13:29 UTC

1

Check if songs exist

Hi

I am using a shortcut that I found online which transfers songs from youtube playlist to apple music.

With some mods I am near the final goal to achieve what I want.

The shortcut does work good with only some misses(0-4%) with the actual regex I’m using.

The problem is that if I re run the shortcut to readed new songs on that playlist, the old ones which do exist are being duplicated.

Can someone help me out to implement the actions which can check if the songs already exist don’t readded them.

So I just want to add the songs that doesn’t exist and skip others.

I tried using the Get Songs on Playlist and other actions but I failed.

You can check the shortcut here: https://www.icloud.com/shortcuts/b6a1e0f55aef4c078fb9acc0d6115df

6 Comments
2024/12/20
13:27 UTC

1

Camera + Silent Mode Shortcut for Action Button in the Cold

The camera button is really hard to use with the gloves, so I temporary set my action button to take photos and it works really well except I can’t change the silent/non silent mode as effectively. I understand the logic of it; but I don’t know how to do it:

  • if camera app is open, action button when pressed is used to take photos
  • if camera app is not open, action button should either be silencing or unsilencing the phone

Can someone show me how is it done properly?

Thanks in advance <3

5 Comments
2024/12/20
12:52 UTC

1

Help Recursively Delete Empty Folders

So here's what I have right now, which deletes the selected folder as desired, if it's empty, but what I want is to recursively check any sub folders (customizable depth or infinitely) and check all those as well. However since it needs to not just delete the deepest empty folders, but also then back up and check the enclosing folder to see if it is now empty and delete it after deleting any folder...

I'm not thinking up a way to do this that doesn't require manually creating a "repeat with each item" loop over and over again for each level of depth I want it to handle.

Also I can't see how to have an If check for "is item a folder" using the output items from "Get Contents of Folder".

Any ideas? Or maybe someone has a shortcut already lying around?

The specific use is to delete a hierarchy of empty folders after a different shortcut processes and deletes each file in the hierarchy, which leaves empty folders behind.

1 Comment
2024/12/20
12:49 UTC

1

Keep outdoor lights on if sensor registers movement again.

I hope this is going to make sense.

I have some outdoor lights. I have set a hue outdoor sensor to register if someone arrives and then turn on the lights - and turn them off again after 5 minutes. However, sometimes when I get home, the sensor just registered someone else 4,5 minutes ago, which makes the light turn off before I get to the door, because the timer doesn’t start over when the sensor registers movement again. I can’t figure out how to fix that. Any ideas?

Also, sometimes I need to take out the trash at night, and normally the door sensor will also turn on the lights, but if they are already on because of the outdoor sensor, the timer has already started and the lights sometimes turn off before I can get the trash thrown out and get back inside. So I also need the door sensor to reset the timer, if that makes sense.

I hope someone have an idea - and please let me know if I can provide any further information that would help.

Thank you!

6 Comments
2024/12/20
09:47 UTC

1

I would like an automation/shortcut that would alert me to take my blood pressure

I need to take my blood pressure a few times a week at different times of the day. l'd like an automation that would remind me on differnt days and different times of the day. Maybe like 2-3 times a week. Does anyone have one already made or is it possible for the Health app to do this. Thanks For any help you can provide.

2 Comments
2024/12/20
06:20 UTC

1

Shortcut not working without physically sending the message

Hi all,

Just wanted come on here and ask if anyone knows how to sort my problem out?

I’ve set up several automations that for the most part work fine but when they get to the text message part they won’t go off unless I physically send it myself.

And I’ve downloaded other peoples to see if it was possible to have the shortcuts go through without having to send the message myself, and yes it does but when I’ve made my own the text just won’t send so if anyone knows how I can change that please lmk.

5 Comments
2024/12/20
06:35 UTC

0

Rearrange homescreen apps

Hi,

I have too many apps on my homescreen, and I’d like to organize them into dedicated folders or at least separate folders.

Any assistance would be greatly appreciated, even if it’s not using Shortcut.

Thank you

5 Comments
2024/12/20
06:07 UTC

51

Tubey 4K - watch YouTube with PiP & no ads

https://routinehub.co/shortcut/12466/

Share a YouTube video ID or URL to Tubey to get started.

What's new

  • now supports up to 4K HFR content (livestreams are still limited to 1080p HFR or lower)
  • automatically switches to compatibility mode (1080p HFR or lower) when YouTube API gets flaky
  • removes support for bypassing age restrictions as it is no longer possible

Features

  • up to 4K high frame rate (HFR) content
  • separate default video qualities for Wi-Fi and cellular
  • Picture in Picture
  • no ads
  • closed captions
  • supports livestreams (1080p HFR or lower)
  • supports URLs with timestamps (except livestreams)
  • outputs the video duration, so you can embed Tubey in other shortcuts to do things like turning on Do Not Disturb for the duration of the video.

Doesn't support playlists and downloading videos. HDR is also not supported (yet). Tested on iOS 17.7.1.

12 Comments
2024/12/20
05:33 UTC

6

Hot Mic Roulette

I have a fun shortcut that grabs a random 'live photo' and plays from it the audio, which is otherwise probably never heard. It plays in a loop. Maybe you can guess the photo. Turn your phone left to show the photo, or right for a new one.

https://www.icloud.com/shortcuts/7f5bcf63bbea461d8c2ce6f805e7b856

3 Comments
2024/12/20
05:31 UTC

1

How to create a new reminder list and populate with tasks and subtasks?

I've managed to create a new list with tasks, but I can't seem to find a way to add indented subtasks under each main task, is that possible? I'm trying to make a list template that will add items automatically based on user input.

1 Comment
2024/12/20
05:07 UTC

1

Automation to turn on exhaust fan

I have a cat litter box in my laundry room and want to decrease the smell. Is there a motion detector I can place by the litter box that will detect the cat, send a notification to my phone or Alexa, use a shortcut to turn on the smart switch for the fan, then turn the switch off 15 minutes later? I have a smart switch for the fan that integrates with my iPhone and Alexa. I would like to avoid another hub in my home. Any other ideas of how to make this work?

1 Comment
2024/12/20
03:43 UTC

1

How to auto reply to texts when in DND

Hi all- I’ve scoured this sub and at one point my DND auto replies worked. Then I shut my phone off and turned it back on and now it’s broken.

I know I created an automation that said “when I receive a message, do DND” and DND sent a message to the sender saying “it’s past my bedtime I am on DND”

And my DND shortcut was set up from a template that I found here, but I can’t find it anymore. It was perfect because it replied to ALL messages, just not people in my contacts.

I’ve tried everything but am at a small loss. I know there is a way to do this…

Any ideas? Thank you all

0 Comments
2024/12/20
03:38 UTC

1

Youtube shorts downloader not working again!

All the youtube shorts downloader shortcuts I’ve tried (like 10-11) are not working all of a sudden. Mostly showing the same error message. If anyone knows the fix to this it would be really helpful. Thank You!

2 Comments
2024/12/20
03:34 UTC

1

Safari fullpage screenshot

Is it possible to get through automation the Safari fullpage screenshot pdf?

1 Comment
2024/12/20
02:59 UTC

1

Print automation

Help! I am a complete n00b with shortcuts. I want to set up an automation or just a button that makes a specific picture print (I have an inkjet I don’t use much and don’t want my shit to dry out so I want it to automatically print a picture of a rainbow every week).

In my head I imagine a shortcut such as: when this alarm goes off (or shortcut pressed), print this picture to this printer.

I see the “print” command but have no idea what to do with the Shortcut Input or where to go from there.

TIA and sorry for my illiteracy - I am trying!

2 Comments
2024/12/20
02:16 UTC

3

Alert when app is opened

Completely new to this, but need a simple sentence to appear when photos is opened. Seemed easy enough but isn’t working. Help please?

7 Comments
2024/12/20
01:04 UTC

1

Keep Bluetooth connected to Handsfree Link

I’m curious if there is a way to program, when connected to HFL, keep connected and do not transfer to secondary Bluetooth device in my car. The second only plays audio. The first only allows phone calls.

Ideally, if on a phone call connected to HFL, stay connected. If you lose connection go to speaker and try to reconnect to HFL. Else, speaker.

I can’t find a status of a phone call and figure out how to program the script.

Thanks in advance.

0 Comments
2024/12/20
00:53 UTC

3

All Media Downloader v 6.2 errors

I’ve been trying to use the shortcut “all media downloader” on its later version and it’s crashing out and presenting the following error when executing no matter the site where it’s taking the url from.

Need some help!

2 Comments
2024/12/20
00:44 UTC

1

Getting blood oxygen samples

When fetching samples, the data returned is date time and reading. That’s how it works from the Apple Watch data.

https://i.imgur.com/m8ugCt0.jpeg

However, I wear a continuous monitor device to at dumps the data into HealthKit as a group. At the bottom of the window, you’ll see view all samples. Which shows a list of entries.

https://i.imgur.com/tljRhUQ.jpeg

However when using shortcuts to grab the data, from Apple Watch it’s : date time, value 2024-12-19,06:36:21,99

From the other device it’s: Two dates and two times, data (avg of all the sub data) 2024-12-19 2024-12-19,11:44:01 12:47:13,96.1310782241015

How do I pull all the data not the summary of the grouped data?

If I can’t what RegEx can I use to grab the first data and the first time from that info?

Thanks.

3 Comments
2024/12/19
23:05 UTC

6

What am I doing wrong with running an SSH from my iPhone to my MacBook?

I added the correct host, user name and password but do matter what I do it gives me the same error…

9 Comments
2024/12/19
23:01 UTC

Back To Top