https://resources.rosemaryorchard.com/images/blog/workflow-clearing-out-your-camera-roll/workflow-clear-the-camera-roll.png?cropResize=100 “Clear The Camera Roll”){.image-right} Sometimes you take screenshots, lots of screenshots. And sometimes you use built in screen recording to capture what’s happening on a device. You probably use these features even more frequently if you’re beta testing an app – and that’s how this Workflow came to be. Ryan mentioned in the OmniFocus Beta Slack that his camera roll was suffering with all the screenshots he’s been taking. Challenge accepted. This workflow will help you delete both screenshots and screencasts you’ve taken on your devices.
Steps:
- https://resources.rosemaryorchard.com/images/workflow-icons/Calculator.png?cropResize=25 “Number”)
Number
: Set this number to be the number of screenshots and screencasts you want to go through. - https://resources.rosemaryorchard.com/images/workflow-icons/Photos.png?cropResize=25 “Get Latest Screenshots”)
Get Latest Screenshots
: This fetches the number of screenshots chosen above. - https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “Choose from List”)
Choose from List
: You select which screenshots you want to delete. - https://resources.rosemaryorchard.com/images/workflow-icons/Photos.png?cropResize=25 “Delete Photos”)
Delete Photos
: The photos are deleted. - https://resources.rosemaryorchard.com/images/workflow-icons/Videos.png?cropResize=25 “Get Latest Videos”)
Get Latest Videos
: This gets X number of the most recent videos, X being the number right at the top of the Workflow. - https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “Repeat with Each”)
Repeat with Each
: It checks every picture.- https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “Get Name”)
Get Name
- https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “If”)
If
: If the name of the photo contains “Screen”… (Screen recording videos are called something likeScreenRecording_04-04-2018 15-17-54
.)- https://resources.rosemaryorchard.com/images/workflow-icons/Variable.png?cropResize=25 “Get Variable”)
Get Variable
: Get the actual video, otherwise you just have the name. - https://resources.rosemaryorchard.com/images/workflow-icons/Variable.png?cropResize=25 “Add to Variable”)
Add to Variable
: Add the video to a variable calledScreen Recordings
.
- https://resources.rosemaryorchard.com/images/workflow-icons/Variable.png?cropResize=25 “Get Variable”)
- https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “If”)
Else
: It’a not got “Screen” in the name- https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “Nothing”)
Nothing
: We don’t want these videos to be included here.
- https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “Nothing”)
- https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “Get Name”)
- https://resources.rosemaryorchard.com/images/workflow-icons/Variable.png?cropResize=25 “Get Variable”)
Get Variable
: Get all those screen recordings. - https://resources.rosemaryorchard.com/images/workflow-icons/Scripting.png?cropResize=25 “Choose from List”)
Choose from List
: Choose which screen recordings you want to delete. - https://resources.rosemaryorchard.com/images/workflow-icons/Photos.png?cropResize=25 “Delete Photos”)
Delete Photos
: Delete the screen recordings. We’re using this action rather than “Delete Files” because the Videos actions outputs a “photo like object”.
You can get the workflow here: Clear The Camera Roll
Enjoy clearing your camera roll!