Page Numbering Tool

The actions generated by the page numbering tool are:1. Set label equal page2. Add current page3. Add of4. Add total pages5. Set label contentsNew line-up should be:1. Set label equal page (same)2. Add current page (same)3. Add of (same)4.a. Get total pages (new - see below)4.b. Adjust total pages (new - see below)4.c. Add adjusted total pages (replace - see below)5. Set label contents (same)[/code]All actions are "On Show" and Action: Modify Variable4.a. Get total pages

Code:

Target: totalpages Value: VAR(PagesInTitle) Modification type: Set Variable Contents

4.b. Adjust total pages

Code:

Target: totalpages Value: 2 Modification type: Subtract

4.c. Add adjusted total pages

Code:

Target: RunningPageCount Value: var(totalpages) Modification type: Add to Variable

Hope this helps. If not, post again.ben

Discussions have been disabled for this post