I'm making an app in Automator to quickly delete my iMovie Library (to save space). However, I want my app to check if the iMovie Library has already been deleted and show a dialog saying so. I know how to make the dialog, but I can't figure out how to do it. How do I do this? I'm using macOS 10.11.
- Ask for confirmation
- Get specified Finder items (the validation would go after this)
- Move Finder items to trash
- Run AppleScript (to show a dialog saying "Done")