Creating Custom Dialog Box
Hii I have installed FDK2019(32-bit) and Framemaker2019(32-bit) and created a new DRE file from the existing DRE files in FDK Directory. When i am going to save it as abc.dre the framemaker gives below...
View ArticleESTK - draw a graphic
Dear all,After the first step (drawing a single line) I now try to draw a polyline. But i have no success:Obviously the defintion for the points is not correctSame is for the defintion of the dash...
View ArticleIs QuickSelect() not working anymore?
The function QuickSelect() should present a small drop down menu. The same kind of menu you get when pressing F7, F8 or F9. I wrote a PlugIn with the FDK for FrameMaker 2010 where this behaved...
View ArticleParse .fm File
How to parse .fm file and store its content in another .fm file using FDK2019?
View ArticleHow handle match () for brackets
Hi, I have a small script to compare two text messages. Even though both text messages are same, the scripts outputs an alert message saying "Text Do Not Match".Please let me know, how can I handle...
View ArticleUsing ExtendScript, how to get the list of all headings including numberings,...
HiI have a book, now I need to create a report of all headings including numberings, text and their locations. It should look like a TOC but in an external text file. How to achieve that? Thanks
View ArticleHow to put text into a TextLine ?
Dear friends,In my 'graphic project' I want to place text into a TextLine. The following script gets some properties from a selected TextLine (which is located in an anchored frame). But so far I...
View ArticleHow to add UserString for a Marker object?
Hi colleaguesI am newbie to ExtendScript So as the title says How to add UserString for a Marker object? My code is as below, but it does not add UserString to the Markers. var doc = app.ActiveDoc;var...
View ArticleCopy Paragraphs from Source files and Paste to Destination File
Hi, I have a Book with multiple Source files (Source_1, Source_2, ...) and a Destination File. I need to copy all paragraphs from Source files to a global array and finally paste to the Destination...
View ArticleCreating a TextLine with character format
Well friends, the story about TextLine needs a new chapter:Things go really strange with this short script:// Clone a selected TextLine to check the function #target framemaker main (); function main...
View ArticleCreate XML file using FDK Programming
Hello I want to create the XML file by getting the table data from the Framemaker Document using FDK2019. can you please suggest me how I can create the XML file with that data? I appreciate any help!
View ArticleRunning FrameScript command with ExtendScript
Hi, Have you ever tried to run FrameScript command inside ExtendScript code ? is that possible ?
View ArticleFM13 HTML5 Publisher Triggers Event Script
Hello fellows, I have a registered event extendscript that is normally triggered upon opening a MIF file. The script automatically saves the MIF file in a certain location, closes the MIF and opens the...
View ArticleHow to get number string of a paragraph?
HiIn ExtendScript, how do I get a string representing heading numbers of a paragraph, such as "8.2.2" from "8.2.2 Clock properties" subsection? Many thanks
View ArticleCentering a TextLine
Dear friends,Again I was mislead by the name of a propertyoTextLine.TextLineType = Constants.FV_TEXTLINE_CENTER; I thought that this would be useful to center the text within a given space. But I could...
View ArticleHow to get the property values of an object?
Dear all,Inspecting a graphic object - e.g. a TextLine - I want to list the property values. It's easy to get a list of all the property names. The following#target framemaker main (); function main ()...
View ArticleFM2019 - Can't launch the ExtendScript IDE
Hi, FrameMaker 2019, v15.0.1.430, installed with several previous versions. The File > Script > New Script command does nothing. I can run a script with File > Script > Run. If I launch the...
View ArticleChange the Selected text to Upper Case
Hi, I have the below to code to select the Paragraph. But after that I need to update the selected text to UPPER CASE. Please help me getting the code for this. var doc = app.ActiveDoc;var flow =...
View Article