I have InDesign set up to automatically add a blank page if necessary to make each chapter of my book have even pages. I want to have the "blank page" say NOTES at the top. I am using Conditional Text, so depending on the scenario, pages may be added or deleted using the Smart Text Reflow. I'm guessing that I could create a script that looks for any blank pages and assigns the NOTES master to it. In a different conditional text scenario, that page may not be necessary and could get deleted.
I have tried to read the instructions on writing scripts, but I'm very confused. Is there already a tool in place for something like this or could someone help me figure out a script?
Thanks for the help, but I couldn't get that script to work. It doesn't understand the line you gave me and I don't understand scripting enough to debug it.