Fetching AFrame for each page
Hi, I want to fetch all Aframes information in an active doc whose layout has three columns for each page. I wrote the code below: #target framemaker var doc = app.ActiveDoc;if (doc.ObjectValid()...
View ArticleRemove Character Format Override From Text Range
This should be simple, but I am wracking my brains trying to figure this out. I simply want to take a text range and remove any character format override (CTRL-I or CTRL-O) and remove the override. I...
View ArticleFDK custom dialog scrolling list item limit
FM is crashing when I am population a list of items in a scrolling list display. I think it is due to the number of items, around 1000 or more lines and it crashes, otherwise it works fine. Is there a...
View ArticleScript to Apply Conditional Tag based on Paragraph Tag?
I use conditional tags to apply automatic updates to headers and footers using variables. The conditional tag is applied to a paragraph based on what the paragraph tag is. The condition displayed is...
View ArticleCannot execute script
I am trying to use ExtendScript for the first time (with FrameMaker 11, from TCS 4), but the script cannot be executed (very basic script example from the Adobe "Introduction to Scripting" guide). The...
View ArticleHow to colorize AFrames
Hi, I am trying the automatic processing below.Add borders to AframesColorize Aframes Before:After: Adding borders succeeded, but I can't add colors to AFrames.My script is below. var doc =...
View ArticleCheckboxes are set randomly
Dear all,I'm fighting with randomly set check boxes in a particular dialogue:$.writeln ("PaletteDocSettings1 -- IsDebug=" + settings.IsDebug + " Verbose=" + settings.Verbose + " EvalFeedback=" +...
View ArticleHow to access TblFmt from a Tbl object?
Is there any way to get a TblFmt from a selected Tbl which I can then use to set the TblFmt while creating a new Tbl from selected paragraphs? I am looking to convert a table to paragraphs, work on the...
View ArticleHas anyone used scripts in FrameMaker 2015?
Hi everyone, We have some relatively complex scripts we use to update books in FrameMaker 10. Now that we are running them on FrameMaker 2015, the results are mixed. We are parsing out each function...
View ArticleCalling 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...
View ArticleHow to check current page type
"Welcome back my friends to the show that never ends" - I'm trying to handle variables and need to know whether the current page is a master page or body page. As You know, on a master page more...
View ArticleHow do I find the Allowed Data Range for an element definition
I'm using FrameMaker 2017 and ExtendScript. In my EDD I have an element that has its content defined as INTEGER. It also has an allowable range defined, in this case it's 'From 2 To 11'. This all works...
View ArticleHandling element auto insertions
I seem to be digging deep into areas of FrameMaker's ExtendScript Object Model that don't get much attention. In an EDD it is possible to define the auto-insertions that happen when you add a new...
View ArticleDisplay selection on proper page type
Dear experts,To be able to navigate to any variable in the document (used on any page type) I first collect all information about the variables. The arry elements are built by the prototype function...
View ArticleNasty behaviour of ESTK
Dear all,A while ago (2017-01-23) I issued bug report FRMAKER-2240Although all my scripts include the directive #target framemaker, and it is my habit to first open FM and then ESTK to start a script,...
View ArticleFind variables in appearing order
Dear friends,Collecting variables in the order of their creation works fine for me:function GetVarsInDoc (oDoc, aDocVars) { //=== Fill the doc variables array with all found vars in Doc ====== var oTR,...
View ArticleCopy all text from pdf to framemaker using Scripts..
Hi friends, using framemaker script , I want to take pdf file as input. Then I want to copy all text from pdf and paste into framemaker using script. then...
View Articlescrollbox Multiple selection
Hi. Is it possible to set scrollbox on a custom dialog to multiple selection?If it is, please tell me how to do it. Thank you.
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 ArticleFrameMaker12 dialog suppression and configurations
Greetings. I am attempting to create a command line script for use with FrameMaker12 and my question is in regards to the suppression of dialog screens when opening a FrameMaker (.fm) file/document. I...
View Article