It is really cool what you can do to script photoshop. Since they want to allow VB scripting, there is a COM object provided so you can even use C#.

All you need to do is Add Reference in a C# project to the Adobe Photoshop CS COM object and voila, you have the "full" object model at your disposal. Unfortunately, not everything is strongly typed (use of Object parameters) and the documentation is poor, so it takes some trial and error. I found the JavaScript reference better than the VBScript reference.

Anyways, I now have a tool that uses my custom web gallery, generates the gallery and then automatically generates my backup picture size so that I don't have to scale on the client and have my photos not look quite as good. Since I want all of my galleries to the look the same, I just have a few configuration parameters for each gallery and I write out the gallery list using the XmlSerializer. This allows me to hand edit the xml to add/remove/modify galleries and then auto regenerate everything.

I guess I am removing all of the excuses to why I don't get new pics up in a timely manner ;) Next, on to automating the watermark and file info!

Scott.