Hey everyone, I’m the latest New Guy!
I’m totally new to AppleScript, but I’m familliar with PHP and bits of other languages, so you need not go too easy on me. In any case, here’s what I’m looking to do;
I have a folder that contains downloaded files, let’s call it “Downloads”. That folder contains other folders named according to the content downloaded. (FWIW, the files are originating from the Unison news reader.) Those folders in turn contain a collection of archive parts, and numerous PAR recovery files (*.par2). Executing any one of those .par2 files will run the appropriate application to verify and decompress the archives. So that last part is already automated. What I am trying to do is write a script that will examine the contents of that main downloads folder, drill down from it to find the .par2 files in the subfolders, and execute them. The catch is, it must only execute one of the .par2 files per sub-folder. There are generally 6+ .par2 files per folder. I really have no idea where to start, and just need poked in the right direction. Thanks!!