We had a script for the 2005.3 version which did following:
1. Generated page numbers
2. Checked for FUBs and Hierarchical symbol the schematic sheets
3. Attached the page number to the FUB symbol
Is there a way to get the same result for 7.9.2 using scout?