How 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 ArticleApplying custom MasterPage using Extendscript
Is it even possible?The closest I've gotten to it is about 2 steps shy of actually applying the custom masterpage. Fcodes([app.GetNamedCommand("MasterPageUsage").Fcode])This gets the dialog box open...
View ArticleExternalizing graphics using ES
Hello fellows, Has anyone tried running the Externalize.jsx created by Adobe in FM13? It does not work for me at all.It used to partially work in FM10... Here is the list to the script:ExtendScript of...
View ArticleHow to switch to the book window
Dear friends and experts,After performing a number of actions on the files of a book the last document is open and active.Now I should re-activate the book window to perform another set of actions...
View ArticleIs it possible to Ungroup graphics with code?
Hi Group,I've been trying to find a way to ungroup graphics within an anchored frame. Can't find a method to do this.Maybe going inside a group, grabbing the group components, saving them somewhere,...
View Articleextracting embedded visio diagrams from FM with ES
Hello fellows, AFAIK, FM15 is not "aware" of the type of the graphic object that sits inside an anchored frame. Embedded graphics appears as OLE2. Is there a way to programmatically extract embedded...
View ArticleI am having trouble with my indentation, it suddenly has everything including...
I am having trouble with my indentation, it suddenly has everything including headers and footers about 2.5 inches indented.
View ArticleHow to get the number of pages in a PDF
I need to import a multiple page PDF into FrameMaker. I can specify each page number and it works successfully, but the missing piece is knowing how many pages are in the PDF. With FrameScript, I can...
View ArticleTiming problem ?
Test, test, test...In my script at the place where I find a string and replace it by a paragraph contens, it turns out that the very first operation is not performed.I inserted an alert to find out...
View ArticleESTK breakpoints not breaking
Dear all,For real debugging the breakpont mechanism is not helpfull in many cases:Breakpoints work as intended for scripts which run in the ESTKAs soon as FrameMaker is involved, things become more...
View Articleoverflow text in tables
Hello all, kindly i need some help that i can't see or figure overflow (overset) text in table cells in FrameMaker, also i got a code to say if there is overset text or no in document but it doesn't go...
View ArticleESTK error "Can not assign value"
Dear friends, a new project has started - and of course new problems arise:. The function SumOf (list of values) works perfectly,but an equivalent function VsumOf (list of variables) stops at line 16...
View ArticleFind overflow Text
Hi every one is there a script that help to find the text boxes with overflow text (like in indesign with overset text)
View ArticleIssue when opening documents.
I am opening a document by using: F_ObjHandleT docId = F_ApiOpen(componentName, &script, &returnp); I also have set the following property to the script: IntT i = F_ApiGetPropIndex(&script,...
View Articlerow format editting
Hi all, are there any scripting way to edit row format for all cells to all tables on file to be for ex. = 50 mm because i have overflow text on some table cells and i need to make it appears. Thanks
View ArticleMultiThread problem with FDK
Hi. I am using a C# desktop application. I have a C++\CLI wrapper that is connected with a native C++ library which is a custom FDK asynchronous client. In the C# application I use task parallelism...
View ArticleHow can I get the current paragraph?
I want to get the current paragraph where the insertion point is. How can I do this in FDK?
View ArticleFind and replace all occurences of a string inside the current paragraph.
I have done so much work and this is my last method to implement. I want to get from the current active doc the current paragraph and replace all occurances of a string inside that paragraph with...
View ArticleOpen pdf at specific location
Dear friends,I want to support a dialog with a Help button which shall open a pdf at a specific location, either defined by page number or (better) by Named Destination. var helpFile =...
View Article\b when getting text from text items. How to get just the plain text?
I am using FDK C++ and get TextItems with FTI_String from the active document. But the text from the text items contains some characters that do not appear in the actual text. For example \b. What is...
View Article