Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TuffLuffJimmy

macrumors G3
Original poster
Apr 6, 2007
9,036
180
Portland, OR
I have been trying to write an automator script that will take various files from my downloads folder and my desktop folder and organize each file into various parts of my computer.

I have it set to select those folders, then get their contents, then filter by extension and then move those files to a certain other folder. The problem is I have it filter by extension, png first and if there are no png files the script ends with an error. So I have to have each different kind of file sitting in one of those folders or else the script ends. Is there a way that I can get around this and have the whole script run every time? Or is there some way (maybe variables) that I could get this to work.

I have done a little apple script before, but nothing with variables and nothing too fancy, although it's one of my priorities this summer to learn the language.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.