Photoshop Save as GIF with flatten
1) Save a Photoshop file as GIF
2) Change the color of some text in a text layer
3) Save another copy as GIF
Here's what I have so far:
save current document in filelocation & BaseName & "_ov" as CompuServe GIF appending lowercase extension with copying
set stroke color of text object of artLayerRef to {class:RGB color, red:0, green:0, blue:204}
save current document in filelocation & BaseName as CompuServe GIF appending lowercase extension with copying
It's fine except the save as GIF parts make a dialog box pop up asking if I want to flatten the image. Is there a command I can put in the save code that will save the file flattened? Or, is there a way to undo flattening (using the history or undo command), so that I can flatten the file, save as GIF, undo flatten, change the text layer, flatten, save as GIF?
iMac 1.6 GHz, Mac OS 9.2.x