Category: FrameMaker
-
ExtendScript to print the word count in an FM book file
Find the script here. To test the script: Create a book file with many chapters. Chapters must be added as files. Open the book file. Ensure that chapters are not opened. Run the script. Wait for the script to open all the chapters and then print the word count. (Note that the script doesn’t include…
-
Developing ExtendScripts – Part 3
Let me repeat, if you are very new to ExtendScripts, see the first two entries in this series. Here we are going to see a bit more complex example. This is what we are going to accomplish: If a book file is opened, running the script opens all FrameMaker files (chapters) added to it. Based…
-
Developing ExtendScripts – Part 2
If you are very new to ESTK, I suggest you to read the first blog entry in this series. In the first blog entry, we didn’t use any functions that are specific to any TCS component. In this blog entry we will. Let us develop a script that changes the DPI setting of all the…
-
Developing ExtendScripts – Part 1
ExtendScripts automate tasks that you do in any of the TCS components. ExtendScripts are saved as .jsx file and are similar to JavaScript. TCS provides you with ExtendedScript ToolKit (ESTK) support to develop ExtendScripts. ESTK is a development environment that makes the script development simpler. In this first blog entry, I will familiarize you with…