Its in the Script

Excerpted from my book FrameScript for Newbies Copyright [7/17/2007] by Paul Schnall

Loops are a way of moving through a book or document and running lines of code on each object of a particular type. For example, looping through every paragraph (paragraph being the object) in a document and searching for a specific word or text is easily done using this construct.