The script do the following:
- Removes any kind of styles not in use
- Removes colours not in use
- Removes objects on pasteboard
- Add unnamed colours to the Swatches panel
- Convert RGB colours in the Swatches panel to CMYK colours
- Convert Spot colours in the Swatches panel to RGB colours
- Removes unused layers
You can use the script on an entire book by loading the book documents with the load button.
Instructions for installing the script are included in the download file.