Breaking change in F_ApiSimpleSave saving documents in FrameMaker12
Hi, I was asked to repeat this question under "scripting", and hope someone can help us out. We have document files generated as MIF. We then call F_ApiSimpleSave to have FrameMaker produce fm files as...
View ArticleShading straddled cells
I have a table with 10 columns and 2 body rows. Before the script is run, cell 1 in the first table row (which contains text) is straddled over all cells in the row (cells 1-10). My script so far...
View ArticleFind chars/strings with a certain condition applied
Hello fellows, I am writing an extendscript that is supposed to loop through all pgfs and find all characters/strings with a certain condition applied (let's say, Comment).The problem is that in the...
View Articlepage breaks being removed after importing table
Hello, I am importing tables into a document on open. I have multiple tables, and each time the document is opened the tables are reimported from directory.The problem is that the page breaks, which...
View ArticleRunning script on conditions
I have a document with approximately 50 tables in it, some of which I need to add some text and shade some cells etc. The tables which I need to run my script over are identified by a string ( just one...
View ArticleFind Replace from Textfile with regex
Hello. I'm wondering if anyone knows about an existing script that does a find/replace by list like the script "FindChangeByList.jsx" that comes with every InDesign installation.This consists of tow...
View ArticleIs it possible to get the cell object when I just have the parent element...
Hi, I have an entry element selected, but it has no pgf content. Can I get the cell object somehow? thanks,Tracey
View ArticleResize all images in a document
Hi,does anybody know a script that resizes all images in a document (e.g. to a given dpi)? It would be even better if the resizing action could be confined to images in anchored frames that are placed...
View ArticleExtendscript for "By scaling to widths totalling ..."
Hello, I started from a script example found on this very useful forum that allows to reformat tables across a document. This is very useful when many new tables are imported from Word, Excel or any...
View ArticleRecursive Algorithm Help
Hi Everyone. I am recursively processing an XML file using ExtendScript. I have a "level" variable so I can keep track of how deep I am in the structure. I want to detect when the level changes in...
View ArticleOpen Old FrameMaker Documents with ExtendScript
I am trying to open a FrameMaker 5.5 document using scripting and convert it to XML. I can open the files in the interactive version, but when I try to open them in FrameMaker 2015 using ExtendScript...
View ArticleHow to create a TOC programmatically with FDK?
We need to create the Table Of Content programmatically for our customer with FDK. There is a Menu in Special>Table of Content.. in FM to do it, however we need to do the same with FDK API. Any help...
View ArticleBringing the active table under focus when script is interrupted by a dialog box
I have customized a script that browse tables into a Fm file and prompt the user if he wants the current active table to be reformated or not I haven't find a clean way to have the table that is...
View ArticleWhat is an FMObject
I am new to the API and ExtendScript, and I am having alot of difficulty navigating the object model I am trying to extract the referenced file names of graphic objects. I can get all the graphics in...
View ArticleScript OK in FM12/13, not in FM10/11
Dear friends and experts,I can run without problems any of my installed FMs (6 ... 13). The last installed was FM 13 aka 2015.In all FMs since version 10 I can run scripts - but have no clue which ESTK...
View ArticleExtendscript: demystifying the book compare function
Hello fellows, I was trying to make the book.Compare() function work in the same way as the corresponding GUI option, but it seems that in the ES, this function works differently. Instead of comparing...
View ArticleFirst found item not replaced - random behaviour
Dear friends and expertsIn my project I use a (minor) modification of Ian Proudfoot's find/replace script.The find- and replace-strings are taken from global arrays (which are filled from an RTF...
View ArticlepgfFmt.Start property not working
Hello guys: I´ve tried this using FM 10 and FM 11 (unstructured), and it fails in both versions. The PgfFmt "Body" is shown as modified in FM (asterisk) but the Paragraph Designer shows the old Start...
View ArticleListbox does not work on Windows 8 - bug submitted
Hi all, I have been working on Windows 7 and never found any problems with list boxes in dialogs, until I ran the same script on another machine that had Windows 8.1 installed. None of the list items...
View ArticleOpen all source documents of current active doc
Hey all, I'm trying to write my first script using ExtendScript. What I'd like is for the script to open the source documents for all the insets in the current active document.I think I'm quite close,...
View Article