15 Replies Latest reply on Jan 14, 2016 2:47 PM by Schmaltzkopf

    How can I create a running header?

    Schmaltzkopf Level 1

      Hi, there.

      I have the following script:

      textVarR =insPnts[-1].textVariableInstances.add(LocationOptions.AFTER, insPnts[-1]);

      textVarR.associatedTextVariable = myDocument.textVariables.VariableTypes.MATCH_PARAGRAPH_STYLE_TYPE(psLkHeading);//running header

        

      I am trying to use it to create a running header that displays a paragrap-style in the header. The script is not working. Am I totally off base? should my code look different?

       

      Any help is greatly appreciated.