Originally posted by mvillagojr
Set your background layer - name it "Background " or select your layer and from the Layer menu select New > Background from Layer.
Find the file Export Layers To Files.jsx.
Should be in C:\Program Files\Adobe\Adobe Photoshop CS3\Presets\Scripts
Make a backup copy.
Find the Function: setInvisibleAllArtLayers
And replace it with this code
///////////////////////////////////////////////////////////////////////////////
// Function: setInvisibleAllArtLayers
// Usage: unlock and make invisible all art layers, recursively
// Input: document or layerset
// Return: all art layers are unlocked and invisible
///////////////////////////////////////////////////////////////////////////////
function setInvisibleAllArtLayers(obj) {
for( var i = 0; i < obj.artLayers.length; i++) {
if (obj.artLayers[i].name != "Background") {
obj.artLayers[i].allLocked = false;
obj.artLayers[i].visible = false;
}
}
for( var i = 0; i < obj.layerSets.length; i++) {
if (obj.artLayers[i].name != "Background") {
setInvisibleAllArtLayers(obj.layerSets[i]);
}
}
}
All it does is skip the layer named Background when making the rest of the layers invisible.
I also changed the Title of the box