• How to mark overflow

    Hey,   I'd like to have a script that goes through the document and places a string in each paragraph or table that has overflow. Any ideas how I can achieve this?   Thanks.
    ba77269862
    last modified by ba77269862
  • Import some variables

    Hi All,   I like to import only some variables from an old FM template file to a new one. The SimpleImport function is not accurate as all variables of the source old FM template file will be imported. With thi...
    accessibel
    last modified by accessibel
  • TextRange - SubCol

    Hello,   I'm using template with 2 or 3 column textframe. I'm trying to make a script that avoid hyphen at end of column. Getting the last pgf of a column, getting the end of line type is not a problem (Consta...
    philippep2776167
    last modified by philippep2776167
  • Timer on extend : run a function after a specific number of seconds

    run a function after a specific number of seconds. is that possible ?
    andranika94108709
    last modified by andranika94108709
  • How to free the memory to avoid memory leak in FrameMaker

    Hi All,   I open 2 books and save to dita   I get memory leak.   Does anybody know how to remove objects of opened fm files and books.   As might clean the memory ?
    andranika94108709
    last modified by andranika94108709
  • Cannot initialize API Client

      I have script which does book 2 dita for 2 books. During second book it shows above error. but books are same, no problems with inputs ? does anybody know what does this problem mean ?
    andranika94108709
    last modified by andranika94108709
  • How to center the new string ?

    Hi forum.   I have got a function that delete a text from a texline  and set a new text in this one. the new text is shorter and i would to center this text instead of set on the left side.   the cur...
    delzanglesl81086568
    last modified by delzanglesl81086568
  • Constants.FV_BK_FOLDER - how get folder name ?

    Hello.   In book hierarchy - we see folder - how to get folder name ?    var compType=comp.ComponentType;   if(Constants.FV_BK_FOLDER == compType || Constants.FV_BK_GROUP == compType) { comp...
    andranika94108709
    last modified by andranika94108709
  • How can i use the FS_PDFUseDistiller porperty ? And how can i set the STS file?

    Is the an example how to do this ?   Josef Böhm   [Moved to Scripting sub-Forum by moderator]
    josefboehm
    last modified by josefboehm
  • Invoking XSLT from Extendscript - where to put the XSLT file?

    I'm growing increasingly fond of invoking XSLT from FrameMaker Extendscript. I can now consolidate formerly multi-tool, multi-step workflows into a single Extendscript.   But ... in scripts for distribution to o...
    Alan Houser
    last modified by Alan Houser
  • How to refresh the document window?

    At the end of my lenghthy script the display of the document does not reflect the work of the script. I always must type CTRL+l to refresh the display. Now I tried to use this function: function ZRefresh() { // === ...
    K.Daube
    last modified by K.Daube
  • How to add .fm files to existing book using ExtendScript ToolKit

    I am writing an ExtendScript Toolkit script to open a ditamap, save it as a book, and then add some boilerplate .fm files in a specific order between the title page and TOC.   So far I've got everything except a...
    gabeS1234
    last modified by gabeS1234
  • Find/Replace behaving erratically

    Dear friends and experts In my script FM-biblio the following is a key task: An RTF file contains lines with the search and the replace strings:   {Daube 1989 #9}»(Daube 1989)   The » denotes a...
    K.Daube
    created by K.Daube
  • How to do multi-threading on extend script ?

    I have process which takes around 10 minutes - during this time I see frozen window on frame maker. Any ideas on this issue ?
    andranika94108709
    last modified by andranika94108709
  • How to save Ditamap as "book xx.0 with fm components" using ExtendScript?

    I'm trying to write a ExtendScript Toolkit script to save a diamap file as a "book 11.0 with fm components".  When I do this manually I check the box "Prompt for Dita Val File" and select the appropriate Dita Val...
    gabeS1234
    last modified by gabeS1234
  • How to run shell script on extend script ?

    Does anybody know how to run shell script on extend script ?
    andranika94108709
    last modified by andranika94108709
  • Moving menu commands

    Has anyone had success adding custom commands to FrameMaker menus and then moving them to different locations on the menu? I can do this with the FDK and FrameScript but I haven't had success with ExtendScript. I am d...
    frameexpert
    last modified by frameexpert
  • Calling XSLT with CallClient

    What is the syntax for calling XSLT transformations with ExtendScript's CallClient method? An example would be helpful.   Also, are there any other undocumented methods or properties that have been recently adde...
    frameexpert
    last modified by frameexpert
  • Loop through all the files in book and align the graphics to center

    Hi,   I need an extendscript to loop through all the files in a book and align the graphics to center.   Thanks in advance.
    sakthivelk63179418
    last modified by sakthivelk63179418
  • How to open .fm files and save to .dita within extendscript

    Hello   I want to open .fm files and save to .dita within extendscript. I tried some example from the forum but they don't open my .fm files.     Thanks.
    andranika94108709
    last modified by andranika94108709