/r/shortcuts
This subreddit is devoted to Shortcuts. Shortcuts is an Apple app for automation on iOS, iPadOS, and macOS.
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:
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. |
Shortcut Sharing Shortcut Sharing (Mac) Shortcut Sharing (JB)
Check out our wiki and its FAQ page for more information.
/r/shortcuts
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?
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!
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:
<name of shortcut>
<current version of shortcut>
<link to the shortcuts download page on routinehub>
--------------------------------------------------
How To Implement (check for return
)
With return steps 1 to 3 The if <run> has any value
is checking if the shortcut Check For Update
was installed.
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
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.
Credits (and special thanks to):
Important information:
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.
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
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?
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
I'm trying to write a simple shortcut to log water and it's giving me an error.
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.
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)
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
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
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
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
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:
Can someone show me how is it done properly?
Thanks in advance <3
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.
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!
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.
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.
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
https://routinehub.co/shortcut/12466/
Share a YouTube video ID or URL to Tubey to get started.
What's new
Features
Doesn't support playlists and downloading videos. HDR is also not supported (yet). Tested on iOS 17.7.1.
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
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.
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?
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
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!
Is it possible to get through automation the Safari fullpage screenshot pdf?
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!
Completely new to this, but need a simple sentence to appear when photos is opened. Seemed easy enough but isn’t working. Help please?
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.
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!
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.
I added the correct host, user name and password but do matter what I do it gives me the same error…