Question
Page master convert Text Variables script
Hi, I have text variables in the header of a document. The header shows 3 variables: the chapter name + the starting chapter number + " - " + ending chapter number. For example: Recipes 1-2. BUT sometimes the header shows the same chapter number, for example: Recipes 5 - 5. Because there is only one.My question is how can I replace "5 - 5" to "5" or "8 - 8" to "8" if they are non-editable text variables? I know there is a indesign function and other scripts to convert variables into editable text BUT.... being on a master page I think it is not that simple.
Any ideas?
I have tried exporting in PDF, editing and finding/replacing text in Adobe Acrobat But you have to do it one by one and the even-numbered pages leave the text justified on the left instead of on the right.
