If you really have to process large amounts of images, I would not use JS in PS as your primary control software.
I would use perl (my personal preference) to do all of the file management, logging, etc... and use a PS droplet
called from the perl script to do whatever actual image processing needs to be done. I've written scripts that run
for days at a time processing tens of thousands of images at a shot but getting this to work corrrectly and
reliably purely in PS JS can be a daunting task. It's better now then back in CS2 days when the JS layer
was not quite as robust as it is in CS5 but it still takes a good deal of effort to make it happen.
Thanks for the info. I have actaully been looking at that script but it did not click to use that as the sample basis.
Thanks for the info. I don't have any experience with Perl, but I do with C# which I assume would work also. Pearl is always an options should C# not work.