Exploring Appleâs new âshortcutsâ app
iOS 12's screentime has been an eye-opener, especially its weekly overview. In fact, it had me seriously thinking about reducing my phone usage times.
So I was a bit surprised to find myself doing the exact opposite. Thatâs because my old iPhone 6S just became a bit smarter. Itâs not really doing anything new, just managing to do a series of actions in a way that feels novel and magical. Itâs almost as if the long awaited AI is revealing its existence inside my phone.
For instance, hereâs what happens when I invoke Siri, and say âRun DJ.â
The culprit who hooked me afresh to my phone is a new app, aptly called âShortcutsâ (also referred to as Siri Shortcuts). The shortcut I created there is a simple, basic one that just launches two apps (Runtastic & Music) with one voice command. Actually, my running app itself offers an option to start up my music when I start jogging so I donât really need a shortcut. But being able to do it myself with my own secret personalised command, makes me feel a bit like a James Bond who unexpectedly finds he has Qâs brains.
Anyway, my running app shortcut was a pretty basic one, but Shortcuts can do lots of crazy stuff. Like keeping an eye on the police who stop you on the road. The rest of this post is a sort of diary of my experiments with Shortcuts.
Exploring shortcuts
Appleâs âShortcutsâ (a new stock app in iOS 12) fascinates me. Thatâs probably because it allows a coding-phobic guy like me to figure out how to make my phone do things that usually require some knowledge of coding. What I intend to do is start figuring out how to use âShortcutsâ for simple stuff. Once I get a hang of it, I will start trying a bit more complex shortcuts. In short, this post is a sort of a diary of my experiments on how to use shortcuts.
To sum up, if youâre trying Shortcuts for the first time, then this post is for you. I must add that Shortcuts only works on iOS 12. But the good news is iOS 12 works on all iPhones, from iPhone 5S onwards. So if you havenât updated, please do so. Once you are done, letâs start exploring Shortcuts.
Shortcuts is Workflow, reincarnated
(You can skip this section if youâve not used the âworkflowâ app previously.) On first launching my Shortcuts app, I found what seems to be a dozen sample shortcuts under the Library tab. Something seems odd. So I check Shortcuts on my wifeâs iPhone. Her library tab is empty. This is a head scratcher!
I take a closer look at the supposedly sample shortcuts, and suddenly recall playing around with the Workflow app around a year ago. In fact, I created a few Workflows, as Shortcuts used to be called then. I even wrote a post on Medium about my experience (I must confess here that I have forgotten whatever I learned during my Workflow experiments).
Are these shortcuts those workflows? A little digging around confirms this. Hereâs a screen capture of the workflow widget on my phone a year ago, juxtaposed against the shortcuts widget of today.
As you can see, itâs mostly the same down to the shortcut icons and colors, with the app name being the main difference. My guess is when Apple relaunched the Workflow app (which it had earlier acquired) as Shortcuts, they released an app update, which changed the appâs name, and imported all existing workflows, as shortcuts into my Shortcuts appâs library.
Shortening URLs
I decided to start with something simple. Shortening URLs seems apt, as itâs useful but not too complicated. The thing is Google recently shut down goo.gl, their URL shortening website, which used to be my go-to url shortener. I need a substitute. To check if Shortcuts has a URL shortener, I open Shortcuts, tap on Gallery, then type in âshortâ in the search bar on top. A âShorten URLâ shortcut pops up. We are good to go.
I tap on the shortcutâs icon, then tap on âGet Shortcutâ to send the tongue-twisting âShorten URLâ shortcut into my library.
Now let me try and shorten the URL of my previous post on Workflow. So I go to my browser, find the post, and copy its URL.
A shortcut for Shortcuts
However instead of going to the shortcuts app, I intuitively tap on the share button in my browser. Good guess. There is a shortcuts option in the share menu. Tapping on it takes me to The Shortcuts app, which automatically displays shortcuts that might be useful to someone who has copied a URL. I tap on the âShorten URLâ option. One more tap. The shortcut does its job, copies the shortened URL to my phone's clipboard, and quits. To verify, I open my Notes app, and do a âpaste.â The short URL is there alright. https://is.gd/9dJzuN.
Iâve attached a video of me using Shortcuts via the share menu. Please note the video is slightly different from what I described above as I copied the URL from the Medium app, instead of my browser as described above. If the video shows up as a thumbnail, just double tap on it to zoom in.
That wasnât very hard. Letâs try another one.
Going handsfree
A quick look at the Shortcuts menu shows a âDirections Home.â That could be quite useful when I get lost while driving. The catch is the shortcut has to use Google Maps because Apple Maps is a no-go in India. Letâs have a look.
A short break for Housekeeping I open the Shortcuts app, and tap on the library tab. Looks like I need to do some housekeeping as there are too many shortcuts (handed down from my experiments when the app was Workflow). Scrolling through a long list of shortcuts defeats the purpose of having shortcuts. I need to keep this list down to one screen, say 10â12 shortcuts. For instance, the first shortcut âSend me an emailâ is something I rarely need. So I tap and hold on the icon. It begins to wiggle, and a delete button appears on the top right. I tap it and itâs gone. Thatâs one shortcut less to scroll through. See first half of video below.
Dissecting a Shortcut
Apologies for getting sidetracked. Anyway, I need to know if I can get this Shortcut to work with Google Maps. I tap on the âDirections Homeâ shortcut from the Shortcuts gallery tab. A window pops up to tell me the shortcut uses Apple Maps (the app icon is clearly Apple Maps). Nothing about using alternate apps to Apple maps. Maybe thereâs an option further in. I hopefully type on âShow Actions.â A new window pops up for me to enter my address. Still no Google Maps. I try scrolling up, and there it is! An option to use Google maps instead of Apple maps (see the screen captures below). Ok, this is looking workable.
Modifying a Shortcut
Though itâs simple, there are around sixteen steps. To avoid missteps, Iâll take you through each step to help you replicate what I did (If the video is too small on your phone, double tap it to make it fill your screen. In case, you canât catch what Iâm saying, you can turn on the captions).
Speed Dial
My success with Siri and Google Maps, emboldens me to try another shortcut involving voice. A âspeed dialâ to call my wife seems a good idea (it wasnât but weâll get to that).
Siri gets confused with my wifeâs name, probably because it rhymes with âHey Siri.â This leads to the odd situation of Siri politely replying whenever I call out loud to my wife. (Thereâs a wild conspiracy theory at home about Apple trying to get me to digitally bond with Siri) Anyway, my solution is to use her initial âJ,â instead of her name, and record my voice command as âCall Jay.â
Accordingly, I tap on the Gallery and search for Speed⌠Speed Dial pops up. We are ready to go.
I tap on âspeed dial,â click the âget shortcutâ button on the next screen, select my wifeâs name/number from my contact list, and tap done. The app saves the shortcut in the appâs library, as well as in my shortcut widget as âspeed dial.â
Ok, this is just me being finicky. But I want that command to read âCall Jay,â not âSpeed Dial.â So I go back to the new âSpeed Dialâ icon in the library screen, tap on the ellipsis (three dots). In the window that pops up, I tap on the switch icon on top , which opens ups the settings window for that shortcut. I then tap on âSpeed Dialâ and type in âCall Jayâ to replace it. I then pull down to check if the command has changed in the shortcuts widgets. It has. Great!
However this is still just a normal shortcut. I need to customise it to work as a voice command. I repeat the steps from above to get to the shortcutâs setting screen, tap on Add to Siri, and record my voice saying âCall Jayâ and tap done. Thatâs it. âCall Jayâ is now officially a Siri Phrase on my phone.
On hindsight, I think I had a duh moment there. It would have been far easier to just change my wifeâs name to Jay in my phone book, and ask Siri to directly âCall Jay.â Siri seems to have no issues about picking up the word âJay,â regardless of my accent or how fast I say it.
Well, I did say this was a learning process, and I did figure out how to fix shortcut icons and names. I also learned that Siri Shortcuts is more appropriate for situations where you need to run two or more actions/apps simultaneously, or in quick succession. So letâs do just that.
Creating a Shortcut to run two apps
(This is the shortcut in the video at the start of this post)Â One of the things I badly need is a shortcut that will start up my running app, and simultaneously turn on my music app to play songs in shuffle mode. Ideally there should be minimum touchscreen interaction, which means all the above should be triggered off by a voice command.
So why do I need this shortcut? Well, India is a humid country, and that means sweating, an issue thatâs exacerbated when I do some physical activity like jogging. The thing is Touch ID is touchy about sweaty fingers, and will absolutely refuse to let me access my phone if Iâm sweating.
Now imagine me have just started jogging, swiping repeatedly at a bouncing screen, hopelessly trying to get my running and music apps going. This after lugging my large screen phone and a bluetooth headset to the jogging track. Very bad for my BP. Yes, Face ID would sort out the issue. But buying a new iPhone in India, where the basic 64GB iPhone XR costs $1055 (âš76900) is not a practical solution.
Makes more sense to make a shortcut. So letâs do it.
Now I need to test if the shortcut works. So I invoke Siri, intone âRun DJâ and sit back to watch Siri do her thing. Really cool, I say.
Donât bug me There is one unrelated issue, which is probably a bug in the iOS Music app. When I run the shortcut, it sometimes only plays one song, though I have set the shortcut to shuffle all songs in the music app. I have observed that this happens when the last song played on my music app was one which I searched for and played. My guess is that the Music app is not shuffling all songs on the phone. Instead itâs shuffling all songs in the last album, playlist or search. And since the last search only had one song, thatâs all I get to hear when I run the shortcut. Like I said, this may be a bug. The workaround is to make sure you go back to âsongsâ in your music app, after you do a search.
Creating shortcut to share contact via WhatsApp
Hereâs another simple one I made. People ask me to often share a contactâs phone number via WhatsApp. That usually involves a bit of hunting, copying, pasting, typing etc. Letâs see if I can make it quicker.
Well, that wasnât too hard either. But are creating all shortcuts as simple? The answer, unfortunately, is âNo.â
Limitations of Shortcuts
There are certain limits to what you can do in shortcuts without any knowledge of scripting or whatever. For instance, I love the âscanâ option thatâs built into the iOS Notes app. The only problem is accessing it involves several steps. Unlock iPhone, swipe to Notes app, Open app, Open a new Note, Press the + symbol, at which you finally get an option to âScan Documents.â I would have loved a shortcut that starts up âscan documentsâ in Notes, and lets me share the scan. The good news is I did find two workarounds, which involve 3D pressing the Notes app, or doing the same on the Notes icon in the iOS Control Centre.
The bad news is I canât create this Shortcut, as thereâs just one solitary entry of âCreate Noteâ for the Notes app in Shortcuts. This means creating that âScan Documentsâ action I want in Notes within the Shortcut app is not possible. Or maybe it it just needs some extra skills which I donât have. So yes, there are limitations to what you can do in Shortcuts.
It may be possible to learn how to do that but Iâm not sure I want to. I have a feeling that as the Shortcuts app improves, it may be possible to do more stuff. Why break my head figuring out scripting or whatever?
Sharing Shortcuts
So when it comes to complicated shortcuts, itâs sometimes simply easier to download it from someone who has already created it, rather than create it yourself. Apple seems to encourage this. All the shortcuts ever created seem to be stored in iCloud, and Apple allows users to share links to download them.
Ok, so how do I go about sharing a shortcut? Letâs say I want to share my âCombine Screenshotsâ shortcut. How do I do this?
Logically, sharing should be within the settings of the shortcut I want to share. I tap the ellipsis button on my âCombine Screenshotsâ (more on this shortcut later). That takes me to the settings page of the shortcut. Nothing here. I tap the switch icon on the top right of the page. Got it. âShare shortcutâ is visible down the page. I tap it and this opens up the share menu, where I find a âCopy iCloud link.â I tap it and my shortcut gets copied. The link is shown below.
You can see from the URl that itâs stored in a shortcut folder in Appleâs iCloud. https://www.icloud.com/shortcuts/49ea32aab42c4d07b63454d877136797
Let me demo how sharing works by sharing two customised shortcuts.
âShare Locationâ using Google maps The âShare Locationâ in Shortcuts gallery uses Apple Maps, which is dysfunctional in India. It has to be Google maps to work for me. Unfortunately, the âShare Locationâ shortcut doesnât give an option to use Google Maps unlike the âDirection Homeâ shortcut.
Actually, itâs possible to share location directly on Google Maps. But itâs quite a few steps to fire up Google maps, and figure out where the âshare your locationâ link is within the busy Google Maps setup. Besides Google can sometimes be over helpful, and confuse the hell out of me with an option to share my âreal-time locationâ instead of a link to my current location.
Anyway, I had created a version of the âShare Locationâ shortcut that uses Google Maps, when the âShortcutsâ used to be âWorkflow.â Itâs a more complex you can see below. The 3-step version on the left is from the Shortcuts gallery , while the 15-step version on the right is my customised shortcut.
That version was automatically imported into my shortcuts library from my Workflow library when my app was updated and renamed by Apple. (You can read how I put together the Workflow, as it was called then, in my postâââitâs in the chapter marked âRound 5â). Iâm sure it should be possible to recreate this shortcut in Shortcuts. But itâs much easier to just use my shortcut.
Once you download this version into your library, all you have to do is tap on the âShare Locationâ in shortcuts, which creates a quick link, that opens up into WhatsApp. You then select who you want to share your location with, and hit âsendâ as shown below. Lot more easier than going to Google maps for sure. Hereâs the link to download my âShare Locationâ shortcut.
To be honest, Apple Maps links work when shared with Android users (the âShare Locationâ version in the Shortcut Gallery creates Apple Maps links). Thatâs because Google automatically redirects Apple Map links sent to Android to the Google maps app. Smart Google. They are aware that 99% of mobile users in India use Android.
Ironically enough, that Apple Maps link wonât work if sent to iPhone users in India. It will open up in Apple Maps, which is more or less dysfunctional here.
Making âLive Photosâ just work I often find myself wanting to share iPhoneâs âLive Photos,â which are short videos (2â3 seconds). Unlike still photos, these tiny videos capture a whole lot more ambience. Unfortunately, sharing âlive photosâ does not work on WhatsApp (Indiaâs default messaging service) as they are simply converted into still photos. Most laymen arenât tech savvy enough to solve this. Which is why few Indians shoot or share âlive photos.â
The âConvert Live Photo to Videoâ shortcut in my library solves this problem (I think I downloaded it from the net). All I have to do is tap on âconvert live photo to video.â Shortcuts then opens Photos, and I select the Live Photo that I wish to share. Itâs quickly converted into a video (you can identify it by the play button on the converted video). I then tap the share button, choose WhatsApp, and share the short video. Easy-peasy.
Hereâs the link to download the âConvert Live Photo to Videoâ shortcut.
A short diversion Just in case you have an iPhone but arenât using âLive Photos,â you should. Itâs no different from shooting a still, but is so much more (just make sure âliveâ is turned on). Hereâs a 3-second live photo that I just converted to a video using the âshortcutsâ app, and then uploaded to YouTube using the YouTube app. The whole process, including the upload, barely took a couple of minutes.
Letâs get back on topic.
Downloading Shortcuts
Though the Shortcuts app has just been launched, users have already begun sharing their collections on the net, like this redditor.
Shortcut for song lyrics Hereâs me downloading from the site a shortcut to get the lyrics of a song playing on my phone. The sound is turned off on the video below, as I need to play the music app in the background for the âshortcutâ to hear it.
I had a look at the shortcut settings to see if I could understand what the app was doing but it was all Greek to me. What does âSet Variableâ mean anyway? And why is some URL being encoded? Forget it, I donât want to know. Just goes to prove that you donât need to know coding to be able to create a program.
No need to know coding to create programs
Shortcut to combine screenshots This is a perfect example of a tool that demonstrates itself (a kind of âwheels within wheelsâ sort of thing). I first take four screen captures to show the four steps to download the âcombine screenshotsâ to your appâs library. I then go to Photos and use the âcombine shortcutsâ shortcut to combine the four screenshots in two sets of two each.
Spotting the âcombine screenshotsâ shortcut, and then finding the link to click
Tapping âGet shortcutâ to find a new shortcut in my library
You can also tweak the shortcutâs setting to combine the photos vertically, horizontally, or in a grid.
I was also a bit curious if the shortcut would combine photos, and not just screenshots. It does, but crops landscape photos oddly as it seems designed for vertical screenshots. I wouldnât recommend it for combining photos.
Borderline legal shortcuts The Redditorâs list includes a shortcut that allows you to download a youtube video to your camera roll without using any external websites (which can get the job done, but put you at risk of being infected with viruses). Also, Google stands to lose ad revenue by this, and they would probably disable it. I check the shortcut and it wasnât working for most YouTube videos. Iâm guessing that Google has put some level of protection on those videos. But it may work for you.
âAdd to Siriâ Shortcuts
Developers have realised the possibilities of shortcuts, and are now including them in their app downloads and updates. For instance, my Camera+ app suggests I use the Siri Shortcut âopen cameraâ to open the Camera+app, which sort of makes it the default camera app (voice) on iOS. Sneaky, I say.
Other developers are following suit. This DSLR app suggests I use the Siri Shortcut âRaw shotâ whenever I want to shoot a raw photo. The guyâs English may not be perfect, but heâs got the idea alright.
Ok, thatâs it. This has been a longish story. It was actually part of another article about how Apple cleverly persuaded me to train Siri. Then I told a friend about Shortcuts. He was fascinated, and requested me to show him how to use Shortcuts on his iPhone. I thought there might be others like him, and decided to flesh out the article with details, and post it as a separate story.
Finally, this post is an amateur or laymanâs perspective of shortcuts. If you want a real professionalâs perspective, check out this guy on YouTube.
Good Luck with ShortCuts.