Extendscript Doubt - Changing the Font Properties across the document.
Dear Framers,
I am new to Extendscript and I am writing a script to change the Font properties of all the text in the document to calibri.To accomplish this my plan was to alter the properties of the Paragraph Format and the Character format.
1. Changing the Paragraph Format Properties
My flow of script is like the below:
a) Change the font properties of each paragraph tag and apply to
- All the paragraph formats in the body page of the document.
- All the paragraph formats located in the table of the document.
- All the paragraph formats located in the master page of the document.
I had succeeded in my attempt.
2. Changing the Character Format Properties
This where I am facing a problem. In the master page Footer, for certain text such as Part Number/IP, a character format is used. I am not sure how to change the font properties of these text to Calibri.
Could anyone help me with the logic. And also. could you please let me know if the approach used by me to solve the problem is correct?
