r/ShortcutsAdvanced • u/Expert-Ad-362 • 5d ago
Add Currently Playing Spotify Song to Favorites!
r/ShortcutsAdvanced • u/Expert-Ad-362 • 5d ago
r/ShortcutsAdvanced • u/Mobile_Koala_4483 • 6d ago
r/ShortcutsAdvanced • u/StepOwn7702 • 7d ago
r/ShortcutsAdvanced • u/Worried-Platypus3694 • 9d ago
As the title suggests, I'm building a shortcut that gives me specific details about the current playlist I'm listening to. I'm currently trying to summate the duration of each track in the playlist, and get Siri to speak out the remaining number of minutes. The part I’m figuring out is how to add the duration of each track. Here’s what I’ve got so far if anyone can shed some light.
r/ShortcutsAdvanced • u/itstitas • 10d ago
r/ShortcutsAdvanced • u/MyCatOwnsMiAzz • 12d ago
Hey everyone! I figured some of you might be interested in this sort of thing, so I wanted to share:
After two and a half years of (hard af) work, my app Cherri Shortcuts is finally on the App Store! It's an iOS app for writing Shortcuts as plain text. You write code, tap Compile, and it builds a real, signed .shortcut file you can directly import into the native Shortcuts app and run, just like adding one from an iCloud link.
The coding language it uses is Cherri, which the app translates the shortcut code into for you to edit if you import one, and then once you're satisfied and export it back to your library, it converts it back to the native shortcuts file language.
pick an action from the built-in action picker (it shows each action's parameters and writes the line for you), compile, export, and add it to your library. This workflow is in case you either don't understand how to write the code yourself or don't want to, the action picker allows you to use this as a faster and less buggy version of the native shortcuts app without having to know how to write the code!
The entire demo shortcut is four lines:
#define name Mist Check
#define color purple
u/pet = "Gerald"
alert("Mist {@pet}!")One feature I think some of you will appreciate is Action Favorites: swipe right on any action (or long press) to star it. Starred actions get their own section at the top of the picker, like pinned actions in the native Shortcuts app, BUT I added an Edit Favorites button that lets you REORDER them with drag-and-drop at any time, which Apple doesn't let you do. Your go-to actions stay arranged how you like, regardless of when you added them, and are always just one tap away!
Compiling happens entirely on your phone.
Export is the only step that reaches my server: your compiled shortcut is sent over an encrypted connection to my signing server so it can be signed and returned to you. Your shortcuts aren't stored. Each one is signed in a temporary folder that's deleted right after. By default, the app asks before it sends anything.
The app is free with full functionality. There's a small one-time Premium option, and it's purely cosmetic. Every part of the app that makes it work is, and always will be, free.
I'd love feedback from people who build big shortcuts, especially on the action picker and on which third-party apps' actions you want supported next?
Feel free to drop a comment if you have any questions about importing, compiling, exporting, or writing shortcuts in Cherri code.
r/ShortcutsAdvanced • u/Ashytov • 29d ago
Very new to iPhone, and I have been trying to set up automations to play the Halo Shield states as .mp3 files all evening, but every time it either resets the sound or asks me to manually launch it each time. Any help would be appreciated. An example would be:
“When my iPhone is plugged in to charge->play halo_shield_recharge.mp3” but I have no idea how to make it work as described.
r/ShortcutsAdvanced • u/Few-Acadia-5593 • Oct 31 '26
Some of you asked me to share this. It wasn't ready then and some days to make it shareable and simple to set up. Here it is: https://www.icloud.com/shortcuts/72069bcb75cf4785b3a97af7b10169c0
Pre-filled edition: if you'd rather skip the setup work, there's also a ready-made pre-filled edition on RoutineHub. The free version here is the complete engine with nothing locked, so don't feel you need it. RoutineHub
Let me know if anything breaks.
Privacy: no network calls, no third-party apps. PERIOD. It only reads device state and sets the volume (unless you add your own actions).
Why I made it
I got tired of Apple's Action button limits, and of "multi-trigger this", "multi-modal that" shortcuts that were convoluted: layers of menus, no context. Worst of all: "Enter your LLM API key here". I wanted Action to stay "Action" and in the moment: press it and the right thing happens for my context.
What it does
3 triggers: Action alone, Action then Volume Up, or Action then Volume Down. Not simultaneous: the volume press just has to come within a short, adjustable delay.
On iPhone: those 3 triggers per Focus, for each of 3 states: 1. locked, 2. unlocked in portrait, 3. unlocked in landscape. (Orientation only matters when unlocked. Landscape means left or right; anything else counts as portrait.) This is a personal choice of architecture. You may think of different ones (per app open, Face Down while locked, etc.) but it takes some work.
On Apple Watch Ultra: 1 button = 1 trigger = 1 action per Focus. No volume or extra logic. Assign the same shortcut to both the iPhone and Watch buttons; it detects which device ran it.
"Other": one catch-all slot per device for any Focus you didn't list.
Slots: what I call a slot is a place in the shortcut where you insert the action you want as the outcome. There are up to 110 (maths below). You'll spot the slots in the shortcut by the comment that says REPLACE. Replace the ones you want and leave the rest.
Setup
Add the shortcut (link above).
In Section 1, type your Focus names. There are 10 text boxes labelled FOCUS1 to FOCUS10. Replace each with the name of one of your Focus modes, exactly as it appears in Settings > Focus. Leave the boxes of Focus modes you don't use as they are; any Focus that isn't in your list falls under "Other".
Leave the FOCUS1 to FOCUS10 labels in Section 2 as they are. They match the 10 text boxes in order.
In Section 2, replace each "REPLACE" comment with the action you want: torch, voice memo, run another shortcut, anything.
Set Debug (the text right below the first comment) to 0 once you're happy with your slots.
Settings > Action Button on the iPhone, and on the Watch Ultra (Watch app or the watch's own settings): pick this shortcut.
Examples (mine)
No Focus, locked: Action = flashlight, Vol Up = ring on, Vol Down = ring off. Watch: asks if I want to start a workout or turn on the flashlight.
Music Focus, locked (band rehearsal): Action runs my "record rehearsal" shortcut. It stops if already recording, otherwise sets the voice memo quality and starts. If I'm home, it names memos "Idea 1, 2…". Vol Up = start recording, Vol Down = stop. Watch: switches to no Focus at home, or to "Out" when I'm away (different watch face, different 3 phone slots to help me get home).
My partner's: at home, no Focus: ring mode, VPN on (off when she really wants her sweet ads). Away from home she built something else. She said she "can't decide if you're a nerd or a tech bro turning me into a tech sis". Good enough feedback, I'll take it.
Tip: you don't have to rebuild existing shortcuts inside a slot. Add a Run Shortcut action. Add Vibrate Device right after, so you get a confirmation that it ran.
How many slots? The maths
Slots = (9 iPhone + 1 Watch) × (Focus modes you list + 1 for "no Focus") + 2 if you leave any Focus unlisted
The 9 on iPhone is 3 triggers × 3 states (locked, unlocked portrait, unlocked landscape). The Watch has 1 button, so 1 trigger and 0 state: 1 action per Focus.
"No Focus" counts as its own state.
The +2 is the "Other" slot, one per device. All unlisted Focus modes share it, so it only fires if a Focus you didn't list in the shortcut is active. (Listed or unlisted means inside the shortcut, NOT in your device settings.)
Examples:
10 listed (Apple's max), none left out = (9 + 1) × (10 + 1) = 110 slots
8 listed, 2 left out = (9 + 1) × (8 + 1) + 2 = 92
5 listed, 5 left out = (9 + 1) × (5 + 1) + 2 = 62
The shortcut ships with all 10 Focus blocks to match Apple's max. If you set up all 10, "Other" never fires, so 110 is the most you can use at once, not 112.
Empty slots are fine. They just don't fire anything. A few remarks:
While Debug is 1 (the default), a notification shows what fired: device, Volume Up/Down, Focus, lock state and orientation. Handy for testing.
On iPhone the volume changes briefly (see below), which shows the volume HUD and is audible if media is playing. I use that as feedback that my press registered when I'm not looking.
The cost: a 0.6 s wait on every iPhone press (more below).
The Watch's button animation adds its own delay and it has no volume access, which is why it only goes by Focus.
Things to know
Up/Down detection. It nudges the volume if it's near an extreme (above 95% or below 5%), waits 0.6 s, compares, then restores your original volume. So Volume Up works even at 100%, and Volume Down at 0%. Volume Up/Down only act as input and change nothing in the end. Press Volume right after Action, not at the same time. To tune the wait, change the 6 in the Calculate step under the "Wait time" comment (6 ÷ 10 = 0.6 s).
Non-English iOS. Orient contains "Landscape" is an English text match, and other languages may localise the orientation text, so landscape detection could fail. Run it once with Debug on, read the Orient: line, and use that word in the check.
Focus names match on "contains". "Work" also matches "Homework", and if two of your Focus names overlap, the later one in the list wins. Rename accordingly. I made the match loose on purpose, but I've only tested with my own Focus names (and my partner's), so tell me if it misfires.
Tested on iOS and watchOS 27.1, iPhone 17 Pro Max and Apple Watch Ultra 3. "Is Locked", "OS" and "Get Orientation" are newer first-party actions as far as I know (I used to need the Actions app), so it's untested on older versions and hardware.
Credit. The volume trick is HEAVILY inspired by u/jz321. In the future I'd like to explore running several shortcuts at once, from what I understand of the leftovers of u/gluebyte's post
Pre-filled edition: if you'd rather skip the setup work, there's also a ready-made pre-filled edition on RoutineHub. The free version here is the complete engine with nothing locked, so don't feel you need it. RoutineHub
If this saves you time, a Ko-fi is appreciated, never expected: Ko-Fi
In any case, do comment your ideas. The truth is, 110 (+2) slots? Even I ran out of ideas :D I'll update the post as I receive feedback, with edits here and in the comments.
r/ShortcutsAdvanced • u/BearAccomplished5355 • Oct 26 '26
I made a shortcut that locks the phone when folded close but the front display remain on the locked screen wallpaper. Always on display is off. I want it to turn off both screens entirely when closed. Currently I have to hit the lock button when closed to get it all the way turned off and the whole point of my shortcut was to prevent this.
r/ShortcutsAdvanced • u/albertohall11 • Oct 25 '26
r/ShortcutsAdvanced • u/Sr_Diego_Rodrigues • Oct 16 '26
Atalho aniversário
Ele busca o aniversário do dia no calendário depois busca o nome da pessoa em contatos e manda uma mensagem no WhatsApp parabenizando a pessoa isso na hora que você escolheu do dia
r/ShortcutsAdvanced • u/Away-Medium-9803 • Oct 13 '26
Im working on a project. Im using a trick where you connect with a github repos, and can access files like that. Allready did that before, made a chatroom in shortcuts. now i only get 404s. Whats going on?
r/ShortcutsAdvanced • u/supastar777 • Oct 12 '26
Hello everyone,
Nightly SideStore Refresh Shortcut.
Ver. 2 - improved
https://www.icloud.com/shortcuts/b8ab237179ce4c94a826e8b5f9a243d8
r/ShortcutsAdvanced • u/supastar777 • Oct 12 '26
Hello everyone,
Nightly SideStore Refresh Shortcut.
Ver. 2 - improved
https://www.icloud.com/shortcuts/b8ab237179ce4c94a826e8b5f9a243d8
r/ShortcutsAdvanced • u/Rinse_and_Repeat2 • Oct 11 '26
iOS 27 with MoE app. I’m trying to write a shortcut to copy the caption & append it to a new photo that I can later select and print later on. I’ve tried with guidance from ChatGPT but can’t seen to get the MoE code action to work correctly to show the caption variable, “Get Details of Photo Items (Extended)”. Any help o write this shortcut would be appreciated.
r/ShortcutsAdvanced • u/benji2702 • Oct 11 '26
r/ShortcutsAdvanced • u/Mobile_Koala_4483 • Oct 09 '26
r/ShortcutsAdvanced • u/lootimg_ayran • Oct 08 '26
Does anyone know if there is an abbreviation that you can download from any website, for example from Aniworld or other websites
?
r/ShortcutsAdvanced • u/Cultural-Thing7904 • Oct 07 '26
Hey everyone!
I wanted a simple way to back up my iPhone photos without relying on paid cloud subscriptions or installing extra apps. Since Telegram offers unlimited cloud storage for private channels, I created Photo2Telegram—an open-source Apple Shortcut that handles the backup process for you.
How it works:
It grabs your new photos and uses a Telegram Bot to upload them directly to your private Telegram channel.
Once a photo is successfully uploaded, the Shortcut moves it into a dedicated "Telegram Backup" album in your Photos app.
The next time you run the shortcut, it checks that album so it knows exactly which photos to skip, preventing any duplicate uploads!
It runs completely through the native Apple Shortcuts app. You just need to create a Telegram Bot (via BotFather) and a private channel to send the photos to.
🔗 Direct iCloud Install Link: Install Photo2Telegram 💻 GitHub Repo & Setup Guide: https://github.com/aneesmuhammeed/Photo2Telegram
Let me know what you think, or if you have any ideas for new features!
r/ShortcutsAdvanced • u/moryasahil • Oct 02 '26
Need instructions in creating a shortcut for Google chat which shows the preview of latest unread chats. Thanks fam!!
r/ShortcutsAdvanced • u/dakrolli • Oct 01 '26
I want “if connected to carplay on monday till thursday from 7:50am to 8:10am speak text “good morning Stefan and Nico”
i drive my son to kindergarten and he likes it when siri says it.
Normal text speaking after connected to CarPlay works, but not with this from monday till Thursday from 7:50-8:10
any ideas?
r/ShortcutsAdvanced • u/GnaloDev • Sep 30 '26