I found my issue. I implemented formatWriteContinue and it got rid of my program error. I'm curious as to why I even need to implement this one as it is never referenced when writing the file - the layer functions take precedence. Anyhow, that still doesn't explain why the layerformat example doesn't work. I was getting a format module error message when trying to save. I fiddled with it and it seems that the formatLayerWriteContinue is what is causing the problem. I clear all the contents of that function and I no longer get a format error. Not sure if this is just an issue with PS CS 5.1 or in general but I figured I would mention it either way.
↧