Skip to content

jamesjingyi/ios-shortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

iOS/WatchOS Shortcuts

I have recently got into creating Shortcuts for iOS and WatchOS, especially those I can use with the Action Button. I have put the base Shortcuts at the top so you can create them first, and then create the menus below (if you wish).

If you're looking for my list of good, free Mac Apps, have a look here

Base Shortcuts

πŸ”— Share Sheet

These are shortcuts you can use from the Share Sheet. They are just useful to have on hand. I did have more but I haven't got round to updating them...

Shortcut name Description Link/Source
Cleanup URL Removes trackers from your links u/sharp-guru on Reddit My link
Share SongWhip Link Use iOS's Share Sheet to share a universal URL u/jswelch01 on Reddit My link

🎡 Music

I am an Apple Music user, and sometimes have trouble sharing with others, so use the two SongWhip functions below. I also have the shortcut Choose Replay List to quickly add the auto-generated Apple Music Replay lists to my up next. I also create a playlist per month (starting in May 2019), so have the function Monthly Playlists function that allows me to quickly get my last 6 playlists and add them to my up next. Check the bottom notes for more details.

And of course Shazam & Save is especially great on an Apple Watch!

Shortcut name Description Link/Source
Share SongWhip Link Use iOS's Share Sheet to share a universal URL u/jswelch01 on Reddit My link
Song.link Shortcut Get the currently playing song, get a universal URL and copy it to the clipboard Michael Moore on ShortcutsGallery My link
Smart Play Music Checks whether you're playing anything before asking whether you want to start playback (and shuffled or not) Me!
Choose Replay List Automatically makes a list of all your Apple Music Replays and lets you choose one to add to your up next Me!
This Year's Replay Automatically gets the current year's Apple Music Replay and plays it next Me!
Monthly Playlists Automatically finds my monthly playlists and queues them (see notes below) Me!
Shazam & Save Shazams a song and adds it to your music library Me!

Notes on Monthly Playlists:

  • These are playlists I have been making for a while - I just make one for each month and add any songs I like to them
  • If you would like to see the playlists you can view them on my profile here
  • The formatting of the title is in the format Playlist #x - Month YYYY, I made this up before I made the shortcut and worked backwards
  • If you are customising this yourself, you will want to change the start date from 1 May 2019 to whatever your first date is - if you would like help constructing syntax lemme know!

πŸ”‹ Batteries

Requires AllMyBatteries

For this section, everything is designed to be set up as automations:

  • AirPods Shortcuts are designed to be set up as automations on disconnect
  • Watch Shortcuts are designed to be set up as automations that run at a set time each day
  • The Logging Shortcut is designed to be an automation that runs at set times in the day (I used it to check whether I was having battery issues with my Watch)

Have a play with the result - I have an alert for AirPods and a Reminder for the Watch, but you can customise these!

Shortcut name Description Link/Source
AirPods Battery Reminder - Alert Shows an alert if your AirPods are less than 30% Me!
Watch Battery Reminder - Reminder Adds a reminder to charge your Watch if it's less than 40% Me!
Watch Battery Log Logs your Watch's Battery and adds it to a Note Me!

πŸ—“οΈ Calendar

u/bamfhacker made a great shortcut in this thread which checks tomorrow's scheule, and I have adjusted it into four:

Shortcut name Description Link/Source
Remaining Today Shows an alert that shows what events are remaining in the day Me!
Today's Schedule Shows an alert that shows the events for that day (including previous ones) Me!
Tomorrow's Schedule Shows an alert that shows the events for tomorrow (including Birthdays) Me!
Tomorrow's Schedule With All Day Shows an alert that shows the events for tomorrow and all day events (including Birthdays) Me!

🧭 Navigation

I find it insufferable that you can't search for contacts within the Maps app, so I created this Shortcut so that you can search for a contact and get their address quickly:

Shortcut name Description Link/Source
Open Directions Select a contact and get directions to them Me!
Directions To β€” Designate a location and get instant directions to it Me!

πŸ“‹ Menus

πŸ“± iPhone Menus

I use a combination of Focus Modes, device orientation and lock status (via Actions), and an Action Button + volume tap (thanks Snazzy Labs!). They are then mapped through multiple Shortcuts to make the Action Button do the following:

  • If the device is locked, launch the camera app
  • If the device is landscape, launch the camera app
  • If the Action Button is pressed and then within 500ms, a volume button is pressed, launch the camera app
  • If the device is unlocked and portrait, launch a menu based on the Focus state

Focus States

My Focus States automatically trigger throughout the day based on location, time, and other things like when I am connected to my car. I can then have customised menus based on the functions I might want to have in these. As I made functions I realised that the menus were becoming quite long, so I consolidated some of them into smaller menus.

These are the current Focus States I have, and their respective actions:

  • Work - Work Menu
  • Sleep - Sleep Menu
  • Music - Music Menu
  • Cinema - Toggle Torch
  • Driving - Driving Menu
  • Presenting - Work Menu
  • Home - Home Menu
  • None - General Menu To toggle between these, I use the Action Button shortcut.

Device Orientation and Lock Status

To enable this further detail, in Settings, I set my Action Button to use the Action Volume shortcut (which is based off Snazzy Labs's version), which uses if statements to first check for device orientation, then checks whether the volume button was pressed (to launch the camera), otherwise runs Action Button to show the relevant menu.

Menu Formatting and Emojis

As someone who likes to just quickly glance and see the main functions, I wanted to make it very easy to quickly find the function from a list. I use a combination of emojis and fomatting to text to achieve this. To achieve this difference, I had to use Unicode Sans Serif rather than Apple's built in font so that I can bold the text that I want. I use YayText's website to create these.

The format of each of my functions is: πŸ“± β€” π—™π˜‚π—»π—°π˜π—Άπ—Όπ—» π—Œπ—Žπ—‰π—‰π—ˆπ—‹π—π—‚π—‡π—€ π—Œπ—π—‹π—‚π—‡π—€ - Which is an emoji, two spaces, an em-dash, and then the function and the supporting string (formatted correctly)

I also hate how the curvature of the modals cuts into the bottom of menus on devices like the 15 Pro Max, so I use the following edited text for the bottom of each menu: ⁻ ᴰᴼᴺᴱ ⁻. This is not linked to any action so it just dismisses the menu.

Menu Content

As I started creating lots of the menus, I realised that some of the funcitons were both repeated and also not commonly used, but I still wanted access to them. I therefore created a Utility Menu shortcut that can be run from any of the menus. It just presents another menu.

I also linked to other menus when it felt appropriate (e.g. my Home Menu allows you to bring up the Music Menu).

As a general rule, I create more shortcuts if a function gets too complex. This just allows me to diagnose problems easier, and repeat functions across multiple menus in an easier way (I'm not sure whether this is best practice or not).

Below are my shortcuts, but I'm not sure whether they actually are useful as they might break when you import them, but hopefully the syntax helps:

Shortcut name Description Link/Source
Action Volume Runs a different shortcut if you press a volume button after you press the action button (also includes device orientation and lock status in mine) OG - Snazzy Labs Mine
Action Button Runs a Shortcut based on the current Focus Mode OG - u/kylewhirl Mine
Utility Menu My Utility Menu Me!
Work Menu My Work Menu Me!
Sleep Menu My Sleep Menu Me!
Home Menu My Home Menu Me!
General Menu My General Menu Me!
Music Menu My Music Menu Me!
Driving Menu My Driving Menu Me!

⌚️ Watch Menus

I wanted to emulate the same menus for my Watch, but since there is less space and the functions are a bit more limited, I created different menus.

Shortcut Sync

I have had some issues with synchronising shortcuts to my Watch, especially if I have just made them. I have the following assumptions:

  • Of course you have to have selected 'Show on Watch', but this doesn't immediately sync it
  • You can run shortcuts that are not ticked as 'Show on Watch' using other shortcuts
  • I think all syncing actually happens through iCloud rather than directly from the iPhone to the Watch (not sure though)
  • The created or edited shortcut needs time to sync with iCloud first, then it can go to the Watch
  • This sync seems to not happen as quickly (or at all) on cellular connections - Wifi is much better
  • When selecting the shortcut to use for the Action Button, even if you see it in the Shortcuts app on the Watch, it doesn't immediately appear in the Settings to select (both on your Watch and iPhone) - you just have to wait a while!

Shortcuts

I have a similar Action Button AW function to my phone, but I have less menus on the Watch so lots of them point to the same places. This shortcut is based on the iPhone Action Button shortcut from u/kylewhirl.

Any menus have been adapted with shorter titles, and with the relevant Watch functions (e.g. the Flashlight has to be remapped). I also added a 'Back' option that goes back to the previous menu since it's harder to use without one on the Watch compared to the phone.

Note: I would love to be able to start a voice recording from a shortcut, but you can't start it from the Watch, you can only open the Voice Memos app, and then you have to tap the 'Record' button yourself...

Shortcut name Description Link/Source
Action Button AW Runs a Shortcut based on the current Focus Mode Mine
Utility Menu Watch My Watch Utility Menu Me!
Music Menu Watch My Watch Music Menu Me!
Home Control Watch My Watch Home Control Menu Me!
Always On AWU Toggle the Always On Display (tested on Ultra 2) My link*

* I found this somewhere but I can't find it again, sorry. I have made my own link for now.

About

My iOS Shortcuts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published