a) could the object be modified to have an additional variable available that permits printing the total number of pages? Is this data even available? Surely it would be at print time...
NWC does not currently precalculate page counts, so it does not actually know this. You could get close to this using a File Info variable, which you could update as needed when the page count changes.Code: [Select · Download]%Comment,TotalPages%
You can start a PageTxt in the second bar. This makes it skip the first page.
I'm sorry Eric, I just haven't figured out the syntax. How do I define the variable in the Comments area?I tried things like:TotalPages=2TotalPages 2%TotalPages%=2TotalPages,2TotalPages==2TotalPages="2"TotalPages "2"%TotalPages%="2"TotalPages,"2"TotalPages=="2"
!NoteWorthyComposer(2.75)|SongInfo|Comments:"PageTotal:3"|AddStaff|Name:"Staff"|StaffProperties|EndingBar:Open (hidden)|User|PageTxtMaestro.nw|Pos:10|Class:StaffSig|Rest|Dur:Whole|Bar|User|PageTxt.nw|Pos:8|PgStyle:PageNumber|Text:"Page %PageNum,1% of %Comment,PageTotal%"|Fnt:PageSmallText|YLoc:Top|XLoc:Right|Rest|Dur:Whole|Bar|Boundary|Style:NewSystem|NewPage:Y|Rest|Dur:Whole|Bar|Boundary|Style:NewSystem|NewPage:Y|Rest|Dur:Whole|Bar|Boundary|Style:NewSystem|NewPage:Y!NoteWorthyComposer-End
The sample score PageTxtMaestro.nwc gives an example of how to do this. If you use %Comment,TotalPages% in your PageTxt object, you would put the following somewhere in the score comments box:TotalPages: 5(of course, substitute the correct value)Mike
Page created in 0.045 seconds with 24 queries.