How to delete unplanned screenshots with Shortcuts

If you’re an iPhone X or Apple Watch user, you may have a bunch of screenshots you’ve unintentionally taken recently filling up your camera roll:

Maybe you’re accidentally gripping the volume up button as you also press power to turn off your iPhone, or you’re pressing the Digital Crown and side button at the same time to pause an Apple Watch workout1 – either way, you probably don’t want most of the screenshots that are filling up your library.

With the Shortcuts app in the iOS 12 beta (or using Workflow if you’re not on the beta), you can set up a three-action script to get your latest screenshots, pick which ones to delete, and delete them all in one go.

Add the actions by searching in the action drawer or browsing through the Content Types categories, then dragging them into the following order:

  • Get Latest Screenshots
  • Choose From List
  • Delete Photos

I’ve increased the number of screenshots to 30 so there’s a full screen to choose from, toggled Select All Initially, and set it up with a Siri command as well.

This shortcut is useful since you don’t have to sort out regular photos you want to keep, all the images are already selected by default so you only have to unselect the ones you want to save, and it will confirm the deletion in case you make a mistake.

If you use the Add To Siri function available in the shortcut’s settings, you can set up your own custom voice trigger and later ask Siri to “delete my screenshots” (for example) when you want to kick off this flow.

One thing to note: the shortcut won’t operate entirely in the Siri interface because it requires the menu UI and delete confirmation, so currently it’s expected behavior that using Siri will just open the app and run the shortcut.2

Additionally, you could switch up this shortcut for new purposes with a few tweaks – if you’re not using any of your screenshots anymore, just bump up the number further or run this a couple of times to clean them all out; or, maybe swap out the first two actions with Select Photos to pick from your entire library instead of choosing only from screenshots.

See more of my Tips & Tricks posts, shared every Monday.


  1. Apple assigns the trigger of pressing the buttons to both pause your Apple Watch workout and take a screenshot, so if you want to keep the screenshot function on you’ll have a library full of mid-workout screencaps. 
  2. I hope this type of functionality can be displayed within Siri in the future so shortcuts can operate entirely without opening the app. Admittedly, however, that’d likely be a hard user interface to make look natural from within the Siri overlay. 

Screenshots, Shortcuts, and Consulting

This week I only had time to publish one post – here on my website.

Stitching pics with StitchPics

On Monday, I shared about creating all-in-one screenshots using StitchPics to combine multiple together. I’ll probably be using this app a ton, because it’s perfect for sharing Shortcuts in a highly visual way.

I hope Apple restores the ability to share by link as was possible in Workflow, but for now the limitation is actually helping me clean my library up and save anything I don’t need as .shortcuts files.

Stocks, baby

I also enjoyed some of the follow-up to my TechCrunch piece – because it happened on Sunday, many people saw it on Monday morning.

I was super pumped when I went to go copy the link and found my piece right at the top of their site – later I found out it was in the Stocks app too!1

First apps

This week was the 10-year anniversary of the App Store, and so there was some good sharing around how the changes have impacted us since then.

Apple wrote a long piece, MacStories covered a huge swath of stories, interviews, and reflections, and people took to Twitter to share their first apps downloaded from the App Store.

I stayed on brand and tweeted my first apps alongside my first few shortcuts in the app.

This was a somewhat tongue-in-cheek tweet, but I am fascinated to think another 10 years from now what it’ll be like to interact with Apple’s platform as something like Shortcuts becomes prevalent exactly 10 years in.

Coming soon

Otherwise I’ve been staying busy with consulting (only so much time before Shortcuts launches!), writing ahead for future posts, and continuing forward on my secret project.

I didn’t get a chance to share much about Shortcuts (though following my Twitter feed may not seem like it) so there’s more coming soon.

I’m also planning on sharing my Launch Center Pro setup soon since I’ve been recommending it to people as a trigger mechanism for shortcuts – just need to update it a bit first.

Links from the week

  • Bradley Chambers’ homescreen criticism: After tweeting about his special powers for criticizing his coworkers’ homescreen, a ton of people sent him theirs and he quoted them with advice. I sent mine in for fun and I’ve seen others changing things up since then – fun to take a look through his feed at others.
  • Affinity Designer launched, then Adobe leaked Photoshop news: everyone was in a big iPad mood this week after Affinity launched a full vector design app and teased their upcoming publisher app too. I had some discussion about their business model which will be interesting to play out, especially as they’re staking a brand flag and Adobe coming hot on their heels with “full” Photoshop supposedly coming next year. As Federico put it well, it’s a bit surreal that iPad is getting tons of focus and love as the Mac community seems to be losing some faith.
  • Austin Mann reviews the new MacBook Pro: Now that Apple pushed the MacBook Pro line into the space users have wanted, and seemingly addressed some dust issues, it seems like the MacBook Pro is a great buy again. I lost mine in a theft last year and don’t have the $7,000 to max one out, but I’m likely getting a laptop and monitor to replace my iMac when the time comes.
  • Throwbacks – the start of Workflow, and the REAL start of Workflow: now that the change from Workflow to Shortcuts is underway, there’s two great videos to watch. The first is the demo video that Ari gave after first building Workflow, quickly showing how to create a workflow in the app – this proof of concept wowed the community and lead to the first version of the app. But a much earlier video shows that Ari has been at this his whole life – he’s probably embarrassed, but there is a fantastic video of him as a 15-year-old talking about jailbreaking on the news. You can see the passion even at a young age, and today he’s even more able to execute on his vision. I jokingly tweeted about it, but I really am excited to see what he will build one day because I’m sure him (and the team) are just getting started.
  • Sock recommendations: I tweeted asking people about help finding a good pair of socks and got 10 replies – will have to buy some and report back.

If you’re an app developer and you’re integrating Shortcuts into your app, please send me a TestFlight invite at matthew.cassinelli@gmail.com and message me if you want specific feedback.

For larger integrations or consulting for your brand, I have some limited time available if you want to work together before the release of iOS 12.

Read the last recap from Week 27.


  1. Plus, my friend and my cousin told me they had read it first and only then realized it was my byline at the top. ☺ 

How to make a full-page screenshot of an app or website with StitchPics

With the sharing feature that was in Workflow not being available in Shortcuts1, many people are resorting to sharing screenshots to show people how their shortcuts work.

Oddly, this has had a great benefit for the fledgling community – shortcuts are very visual, and a bunch of hyperlinks links on Twitter might not have had the same effect as a good photoset2:

But longer shortcuts with more than a handful of actions can’t fit onto one screen, so users have to resort to more creative options.

StitchPics

My recommendation is StitchPics, a simple but very functional app to combine photos that’s free with a $1.99 in-app purchase to add more than 8 images3.

Made by a Chinese developer, the app isn’t fully translated, the logo is somewhat inexplicably an L, and on iPad it only works in portrait orientation.

That being said, I’m definitely glad I bought it. That’s because, beyond basic auto-stitching, StitchPics has a fantastic pinch-based method of combing images that’s super reliable for getting things exactly right.

Here’s a quick example:

Once it takes a guess at how to put your images together, you can slide either image up or down behind the crossover point and collapse parts you want to be hidden.

Especially with longer shortcuts where you may need to take many screenshots, it makes aligning the different actions much easier.

StitchPics is also great for getting images of complete webpages on mobile – just take screenshots as you scroll and stitch them together in the app.

Tailor

A popular alternative is Tailor, but historically I’ve found it is unreliable at parsing multiple screenshots from Workflow (and the same is true for Shortcuts). The actions just look too similar across many images and it doesn’t know how to handle it.

Tailor is also free (but with a watermark removable by in-app purchase) and should work fine for simpler shortcuts. However, it is only available for iPhone.

That’s why I’ve been using StitchPics – it ain’t pretty, but it gets the job done, and a bit better, on both my devices.

Get StitchPics on the App Store.

Click here to check out more Tips & Tricks posts

Links in this post


  1. I don’t know if it’s temporarily removed or gone for good, but boy am I hoping for the former not the latter. 
  2. Awesome work Ben! And also wow, almost 7,000 people liked a good automation joke (even if it’s mostly for the Harry Potter). 
  3. Plus you can add your own watermarks, change it to a custom size, cut off the top or bottom, leave blank spaces, or change the color of the fonts in the app.