Title Page Count.

My file has multiple chapters and I would like to use the the "total page count" variable to show the the total pages in the title.The problem I am having is that my file has several pages that are not referenced directly (help, glossary, etc)but add to the page count. So when the user gets to the last page in the course, the page count shows it is pg 40 of 59. Is there anyway around this? Thank you

Discussion (3)

I tried creating a variable (Total Page Count) - 19 and then used change contents with the Target being Total Page Count, and the new contents being my new variable. All that happened was that it put my variable nanme in the pg. count txt box.How do I go about modifying the variable?Thank you

Amy - I know there is an easier way (something related to what Steve is telling you above, but I don't completely get it either), but if you want to do it the "poor man's way", I'd do this:1) Create your Page# variable, default value 0.2) Create two text blocks at the title level, name one of them PageCount and one of them PageTotal.3) In the PageCount text block, set the text to 00 and size the text block.4) in the Page Total text block, set the text to say "of 59" and size the texblock.5) align these two text blocks together so that you see "00 of 59".6) Create an action on the first page that adds 1 point to the Page# variable on show. Name this action OnShowAddPage.7) Create an action on the first page that changes the contents of PageCount to be the variable value of Page# on show. Name this action ShowPageCount.8) Copy those two actions and paste them on to every "active" page.This should end up creating an artificial page counter that only counts the page that the user will see.Of course, if they go back and look at a page again, it would add another variable value and screw the whole thing up, but I did my best. :)(You could actually prohibit that using conditionals, but who wants to get in to that?)

Hi Amy,Probably the easiest way - if you know how many pages you have that you don't want to count, is to subtract that number from your total pages variable. If you know that you have 19 help pages set a variable to the totalPages (whatever the syntax is:)) - 19. The number of pages will normally stay the same.It would be nice to have a flag 'don't include in page count' for any element.Steve

Discussions have been disabled for this post