Autodelete screenshots on Mac: Part One

Autodelete screenshots on Mac: Part One

Setting up an Automator workflow

ยท

2 min read

Screenshots are great for front-end and UI-related work. Unfortunately, they can create clutter fast if you're not careful. Let's get going and Marie Kondo your Desktop!

This sparks joy! Marie Kondo dancing.

Part One: creating the workflow

Create New Automator File

We are going to be using Automator and iCal. Open up Automator from your Applications folder, and create a new file. You want to select the application workflow.

Screen Shot 2021-07-23 at 8.53.20 PM.png

Spotlight

We will be using Spotlight to grab any file that begins with "Screen Shot" on your Desktop.

You can use the search bar on the top right to find Spotlight and drag it over to the work area on the right. Type "Screen Shot" in the first input, select the "in" checkbox, and choose "Desktop" in the dropdown.

Screen Shot 2021-07-23 at 9.19.06 PM.png

Note: This workflow only works if you don't rename the screenshots or move them from the desktop.

Move Finder Items to Trash

Perfect. Now Automator knows where to find the files to delete. Next, you want to find and drag over Move Finder Items to Trash so that it's positioned underneath Spotlight. This links them together into one workflow.

Screen Shot 2021-07-23 at 9.20.45 PM.png

Save

Save the workflow and remember where you saved it. You're going to need this info for the next section.

Screen Shot 2021-07-23 at 9.33.55 PM.png

If you want to try it out, press the Run button to manually run the workflow. It's located in the upper right corner. It will delete all screenshot files from your Desktop if you have any.

Screen Shot 2021-07-23 at 9.35.03 PM.png

Part one is done, so give yourself a pat on the back. In part two, I will go over how to set up iCal so that it runs automatically daily, weekly, or whenever you want. ๐Ÿ˜ Two people patting themselves on the back

ย