I have a large number of pages I want to update using the "Apply template to page..." option. Is there a way I can do this using a batch process similar to the utility in Fireworks?

I've tried using "replay" in the history window, but when I switch from one file to another, the history disappears.

Thanks for any ideas.