Re: GlobalMod Issue with PageTxtMaestro
I have a template that has this object on every staff. The contents of the Text field are:
%Title% - %StaffLabel% - Page %PageNum,1%
As you know, I'm a big user of Global_Mod, and it seems each time I run Global_Mod on a staff the contents of the Text field of PageTxt.nw objects gets a double quote or apparently escaped characters added at each end so this:
%Title% - %StaffLabel% - Page %PageNum,1%
becomes this (changes in red to stand out):
"%Title% - %StaffLabel% - Page %PageNum,1%"
then the next time I run a Global_Mod command I get this:
"\"%Title% - %StaffLabel% - Page %PageNum,1%\""
then this:
"\"\]\"%Title% - %StaffLabel% - Page %PageNum,1%\]\"\""
then this:
"\"\]\"\]]\]\"%Title% - %StaffLabel% - Page %PageNum,1%\]]\]\"\]\"\""
and so on.
I can not replicate this. For:!NoteWorthyComposer(2.75)
|SongInfo|Title:"The Title"
|AddStaff|Name:"Staff"|Label:"The Label"
|User|PageTxtMaestro.nw|Pos:0|Class:StaffSig
|User|PageTxt.nw|Pos:7|Text:"%Title% - %StaffLabel% - Page %PageNum,1%"|XLoc:Left|YLoc:Top|PgStyle:TopLeft
|Rest|Dur:Whole
!NoteWorthyComposer-End
I can repeatedly run Golbal Mod without problem. But if I change the PageText item to:!NoteWorthyComposerClip(2.75,Single)
|User|PageTxt.nw|Pos:7|Text:"\"%Title% - %StaffLabel% - Page %PageNum,1%"|XLoc:Left|YLoc:Top|PgStyle:TopLeft
!NoteWorthyComposerClip-End
I get the cumulative backslash bug that you describe.
If you are looking for a near term solution, it would be to stop using quote(s) in the Text field. They are seldom needed and there are other characters you can use instead.