<pre>on printAll  set cursor to 4  setPrinter  --> Stack  put timeStamp() into line 1 of vHeader  put "Stack: " & the short name of this stack into line 2 of vHeader  print listHandlers(the script of this stack,vHeader)  print vHeader & return & the script of this stack  put the number of backgrounds in this stack into nB  repeat with cB = 1 to nB    put "Bkgnd: " & the short name of this bkgnd into line 3 of vHeader    print vHeader & return & the script of this bkgnd    printObjects    --> Fields    repeat with F = 1 to the number of fields      get the script of field F      if the number of lines in it > 3 then        put "Field: " & the short name of field F into fName        print vHeader & fName & return & return & it      end if    end repeat    --> Buttons    repeat with B = 1 to the number of bkgnd buttons      get the script of bkgnd button B      if the number of lines in it > 3 then        put "Buttn: " & the short name of bkgnd button B into bName        print vHeader & bName & return & return & it      end if    end repeat  end repeatend printAll</pre>