I'm looking into creating a script that will crawl through a folder (and subfolders) and resize all of the images it finds based on the current images size (ie. if the image is over a certain size, uniformly scale it down). The initial images may be in a variety of formats, but will be output as 8bit max quality jpegs. The folders may also contain non-image files, so it has to ignore them. I have very limited scripting experience, but I'm pretty familiar with as3 so java script isn't all that scary to me. There are a few ways I can think of to do this, but it's important that the script be portable between windows machines, and be compatible with other recent versions of photoshop if possible.
I'm currently getting hung up on how I should go about crawling through the folders. I thought about using image processor with an action that contains a script, but that seems to tie it to my specific machine. If I use a script to control the whole thing, I'm not sure how to go about telling it which files to ignore and which to process. I appreciate any advice or thoughts!
