$ 0 0 The nearest I can find is activeDocument.mergeVisibleLayers(); But this doesn't work in illustrator CS5 Thanks