Is it possible to create a script to get user input when beginning a New Book?
When I start a service manual for a new product, I would like to have dialog boxes open that asks for specific information to define the variables of the template. Is scripting what I am looking for...
View ArticleFrameMaker UI freezing while script is running
Hello guys, I have a couple of questions for you. When I am running my script, the script is actually working correctly in the background, but the FrameMaker UI is freezing and not reacting until the...
View ArticleTimeout caused by loops
Hello guys, its me again.While trying to fix the startup problems, I encountered a completely new bug.My script runs perfectly when started in ExtendScript Toolkit. I am using infinite loops for socket...
View ArticleI have installed FrameMaker 2017 and cannot run scripts
Hi all, I have recently installed FrameMaker 2017 and am unable to runs scripts.From the FrameMaker menu I have tried File > Run and nothing happens.I have also tried to create a new script by going...
View ArticleInvalid text location
Dear all,Int he following script I want to place a variable at a particular position in a paragraph.Obviously my method to define a TextLocation in line 11 is wrong. Line 26is never executed and hence...
View ArticleFDK sample build issue - unresolved __declspec(dllImport)
I'm working with the trial version of Framemaker and I downloaded the FDK. I'm running VS2017, and I can't get a good build. I started with unresolved external symbols for printf (for which I found...
View ArticleHow to get object attributes of Frame anchor?
Hi all, I need to fetch the frame anchor object attributes to prepare a list of text attributes.Anchored Frame > Object Attributes > Text Attributes. I tried following F_ObjHandleT hGrfObjId...
View ArticleLet user decide which structured application to use for xml-file import
Hey guys, I am fairly new to the FrameMaker-scripting-thing. I basically have a folder, full of .xml files that shall be opened with a structured application and then be saved as a .fm file. I can...
View Articlejsx versus jsxbin
Dear all,I observe a difference in script behaviour when using jsx sources compared to jsxbin:My large script FMcalc consists of 10 modules with a total of 208 functions: Module...
View ArticleHow to access the Publisher module
Does anybody know if the Publisher module is exposed to FM's Extendscript (or FDK)? I looked through all of the scripting info and the FDK info, .h and config files and couldn't find any references to...
View ArticleHow to get Conditional tag name for F_TextItemT
Hi, I am trying to get Condition tag name if present for TextItem inside paragraph F_TextRangeT trSel, trFound; F_IntsT condIds; F_PropValsT findParams; trSel.beg.objId = trSel.end.objId = hPgfId;...
View ArticleRunning a Publish script at startup
I have a script that reads a simple XML file, which has to be in the same folder as the script and with the same base name. For example, the script is called PublishOutput.jsx and the XML file is...
View ArticleRemoving Character Tags w/ Script
My department has recently finished converting to Frame 2017, updating tags/formats/layouts, and many other activities to bring some old Frame files into the modern world. We're at the point where we...
View ArticleBatch editing and saving Fm files.
Hi, I am using FrameMaker v12. I have about 40 odd documents related to a single project which I need to update just for three things: Version Number, Date, and Copyright Year. The vesion and date are...
View ArticleFDK C/C++ - Frame Book conversion to XML (FrameMaker 12)
Greetings. I am using FrameMaker 12 with the C/C++ FDK. I have looked into scripting the feature of converting a Frame Book to an XML. I have looked at the FDK Reference and Programmer's guide for...
View Articlefit page in window in framemaker.i have used var zoom=...
fit page in window in framemaker.i have used var zoom= oDoc.Constants.FV_FIT_WINDOW_TO_PAGE; in javascript code.The result is -3.but nothing change in framemaker document.how to i change the zoom level...
View ArticleRemove space in fm doc.
How to remove unwanted double spaces and paragraph marks in framemaker document using extendscript ?
View Article