I wrote this when we were looking for unwanted palettes in our rig. Since Toon Boon only gives a missing palette warning when the drawing is appearing on your screen (not when you open the file, as it should), we had to expose every single drawing in our rig trying to find the element with the unwanted palette and deleting it.
I am aware that there is a way in Toon Boom to expose a sequence of drawings. Unfortunately it only works when your drawings are named like: 1,2,3,4… and so on. This script will expose all the drawings in the selected layers no matter what their names are. You may find other uses for it too.
If you’re having trouble using or don’t know where to save the files on your computer, feel free to ask me.