My first look at Automator yesterday, through a haze of feeling very unwell, just scared me. It looked very daunting and just didn’t make much sense at all. Today the head’s a whole lot clearer and Automator wasn’t nearly so scary. The “tooltips” were helpful and it took me mere moments to construct an action I couldn’t have created in Applescript without a lot of sweat and hardship.
The action’s very simple: it finds all files in my attachments folder which have the extension of .p7s and moves them to the Trash. I imagine if I look further I can attach it as a folder action, but although my brain’s clearer than yesterday I’m still not back up to full-speed yet.
I figured I needed to do this finding and trashing in the Finder so I clicked on Finder in the list of applications and then dragged the action called Find Finder Items into the workflow area. I set the find criterion for p7s files. Then I dragged the action called Move to Trash over and pressed the Run button to test it. It worked just fine so the next hurdle was how to save this workflow. I tried dragging actions onto the My Workflows folder but when that didn’t work my brain had a brief spark and I looked for a Save item under the File menu. Pretty obvious really.




Add your Comment