Just recently discovered Automator and I'm having fun working with it. I put together a simple image-type converting workflow (saved as a service). It first duplicates the selected files, then converts the duplicates and removes "copy" from the duplicates' filename.
So, if I right click an image, and select the service, it duplicates the file, then asks what format I want to convert it to as it's supposed to. If I click cancel, though, it quits the workflow but leaves the duplicate file. Is there any way to do a different action if the user clicks cancel? I.e., first duplicate the file, then ask what type to convert to, then:
Clicked okay-->Convert files-->Remove "copy" from filenames-->Exit workflow
Clicked cancel-->Move duplicate file to trash-->Exit workflow
As it is, it seems I can only either continue normally on "okay", or exit the workflow immediately on "cancel".
Thanks for your help.
So, if I right click an image, and select the service, it duplicates the file, then asks what format I want to convert it to as it's supposed to. If I click cancel, though, it quits the workflow but leaves the duplicate file. Is there any way to do a different action if the user clicks cancel? I.e., first duplicate the file, then ask what type to convert to, then:
Clicked okay-->Convert files-->Remove "copy" from filenames-->Exit workflow
Clicked cancel-->Move duplicate file to trash-->Exit workflow
As it is, it seems I can only either continue normally on "okay", or exit the workflow immediately on "cancel".
Thanks for your help.