The old Animation script is no longer included in the standard PixInsight distribution since version 1.8. It doesn't make sense, since the Blink tool supersedes it.
Besides Blink (which is a nice solution, thanks Rob for pointing it out), how about ImageContainer to automate the HistogramTransformation tool?