$.stack is not a string
ESTK and FDK documentation and even typeof claims that $.stack is a string. If it is printed with $.writeline it behaves as such and creates multiple lines.I want to build a function which can be...
View ArticleTrapping "white document window"
Dear fiends,You know, the last 10% are the most cumbersome ones...With my script I get a "white document window" after opening of document files. I can not reproduce the behaviour reliably neither...
View ArticleFDK 2017 linker error
HiI have installed the 2017 FDK to compile a previous project. I think I have set all the options correctly but when trying to build I get some errors related to the linker. This is the first one:...
View ArticleIs it possible to create a text file from scratch?
I'm using a text file to keep a number that is used in controlled documents.For example file contents can be: 17-154. So when we need to create a new controlled document it will be 17-155 and so...
View ArticleUnable to create Window
Dear friends and experts,Until now I always had at least one document open before I started my script. Now I first started the script (File > Scripts > Catalog > scriptname > Run) just...
View ArticleTrying to understand element selection limitations
I have created an ExtendScript which is used to install structured application definitions the first time that a script is run. Here's what it does:Opens a copy of a structapps.fm file that contains...
View ArticleHow can I save all the files of a book at one go
Hi,How can I save all the files of a book at one go rather than Shift+Control, with the help of any extended script or so?.It would be of great help if there is really an option to save all the files...
View ArticleImporting graphic into graphics frame on a Reference page
Hello All,Need to import a graphic (by copy) into a graphics frame located on a Reference page of the document. The objective is to have a number for each chapter on the First Master Page. This is done...
View ArticleDrag document in book structure
Hi.I try to create function for remove documents in structure view and have problem. When I create funciton, were I want to stop dragging document in structure view by using...
View ArticleRunning ExtendScripts on FM and MIF Files.
Hi, I was trying to run a script to extract all Paragraphs in a fm file with a specific tag name and I could see that I did not extract texts for many paragraphs. However when I saved the fm file as a...
View ArticleHow could I add Existing Variables into a Paragraph using ExtendScripts?
Hi, Based on a specific paragraph tag, I would like to add an existing variable (Name and Fmt) as part of the paragraph's text. I am able to add strings as part of paragraph texts at the moment. I was...
View ArticleGotopage and RoundRectangle
Hello, I'm trying to create a script that go to the Right Master Page used in my document and create a round rectangle (at pos x, y and size h,w).But i can't go to the right page. (I'm already in the...
View ArticleFramemaker 12 and Framemaker 15 get stuck after one complete traversal of all...
Hi, I noticed that after one traversal of all paragraphs as given by function 1, framemaker gets stuck and maybe due to that I am unable to execute the while loop in the second function....
View ArticleGet Attribute Value from Structured Book
Hello, In a Structured book, i need to get on attribute valus (on the highest element) but ... In a FM document, i can get value from an element by looping through all my document by "wraping" the...
View ArticleAccessing the "Read Application Definitions" function from the StructureTools...
Using extendscript or framescript, is there a way to access the "Read Application Definitions" to read an opened structure file? I'm using Structured Framemaker 11, and I need to update an application...
View ArticleFrameMaker 2015 - ESTK - Page Size DefaultParams
Hi everybody, I'm struggling with the page sizes when creating a PDF file from a book. I can't manage to change the sizes of the pages to DIN A4. The default parameters seems to be 210,3 x 279,4 mm....
View ArticleFramescript: Displaying set to 1 but the file is not displayed
Hello fellows, Before I run a certain part of my script, set Displaying to 0.When done, I return Displaying to 1. The script has finished running (I can scroll through the open file, switch between...
View Articletransform text value in object
Hi everyone ! Here is a trickie one : I made a script to get the keys property by property in a layer. If I enter a full property name by hand like this myProp =...
View ArticleFrameMaker unresponsive after running script, 'ENGINE BUSY'
Hello scripters! I've recently run into a small problem and I'm wondering if anyone has experienced the same and/or could shed any light on the issue. I have a script which, when run on large (~250...
View ArticleFramescript: Check for unresolved xrefs in a doc without loop
Hello fellows, Is there a way to check whether a doc contains unresolved xrefs without the need to loop through each and every xref and check its status? What I'd like to do is to state "if there are...
View Article