The official community for FrameMaker.
Als letztes aktiv
I have written a little jsx to extract data (mostly formats) from an existing Framemaker document and stored that data into multiple lists but am having all kinds of issues creating new data. How do I create a new document and table, load the list data into the table, and save out that table in a stand alone file. Nothing I tried from documentation and the net works like app.documents.add();. This language is just not clicking with me yet. Thanks in advance.Example Only:var hero = ['Superman', 'Spiderman', 'Wonder Woman'];var fName = ['Clark', 'Peter', 'Diana'];var lName = ['Kent', 'Parker', 'Prince'];create a new document // var myDocument = app.documents.add(); does not workcreate a table in the new document // new Table NewVar(tblVar) Format ("Format A") NumCols(3) HeaderRows(1) BodyRows(10) FooterRows(0);add data so it looks like:save document as .fm file
How do I add a 5 row x 3 column table with headers to a document? I have written a little jsx from existing documents but am having issues understanding how to create new objects.
I work with many FrameMaker books and files on a large network. Some chapter files in several different folders have suddenly stopped opening. A .lck file is created in the folder. The hourglass spins and FrameMaker says "Not Responding." No other error messages. Have to force FrameMaker to shut down and delete the .lck file.This doesn't affect all files in the same folder, or even in the same book. It seems random.If I copy these files to my desktop, they open fine. If I then File > Save As to a different folder on the same network, they open fine (aside from the broken reference links).So I am aware this is a network issue, rather than an FM issue. But because this seems to affect only FM files, I am hoping for some idea how to troubleshoot what component of my files are being affected.So far, I have done the following:1. Opened the copy in different folder. Deleted all content from body and master pages. Saved back to the original folder. Will not open.2. Opened the copy in
I have a ditamap utilizing dita files. I publish through Save Ditamap As Book 2019 with fm components, and then Save as PDF. WE have numerous ditamaps for various products. This particle one is large and takes more than a few minutes to run. But has been run repeatedly without issue for years. As recently as last week.Yesterday I was editing various dita files connected to the ditamap (image scale, text edits, etc), nothing consequential. I published to see how the images were looking and every single cross-reference in the PDF has the same text! Every last one in a 350 page PDF! While the text says the same thing for each cross-reference, the links work and go to the locations they are supposed to - just the text is incorrect.Things I have checked:The links are correct at the book stage - text is all there. Only after publishing to a PDF, does the text change.Naturally, I published other ditamaps to see if something broke in our structured templates - but everything else publishes fin
Friends of FrameMaker and ExtendScript!With my script Convert Footnotes to Endnotes I got weird results and hence stepped back to the simpler case of just copying paragraphs.Collect&CopyParagraphs.jsx does what the name says: copy paragraphs from the beginning of the document at the end.To see what is copied the source paragraphs have format Body_1 … Body_5.The script works fine as long as there is enough space towards the bottom of the page:The first run of the script produces the output indicated by the upper brace.The second run produces a mutilated output indicated by the lower brace.The output of the third run can not be recognised, you only notice flicker on the bottom line.The script, however seems to run correctly. The logging (see file test4-3times.log) of the 3 runs is identical.→ What is going on here?Use the files in https://daube.ch/zz_tests/Test4.zip for verification.// Collect&CopyParagraphs.jsx// collect pargraphs and copy them to the end fo teh document#target
Hello,I was wondering if someone could please lend some knowledge. I need to move the header and footer information in the below document. I need to move the footer information including the line circled below up 1/8 inch in my document. All of this is located on the master pages. Obviously I can eyeball 1/8 inch using the ruler on the side, but is there a way to get it exact? I need this for printing purposes.Second, I need to move the header down 1/8 inch. I used green to cross off the logo for confidentiality purposes, but this with the gray text needs to be moved down. Any ideas on how I can be exact on this? There are like 16 chapters in my book.Thank you!
Hi,I'm using FM10 and the DITA1.2 architecture. I am able to add video to FM files, but DITA does not recognize them as valid elements if I try a simple File > Import. I was under the impression the <object> element should be used for videos, but I can't figure out how to use it to indicate which video file I want to include.Does anyone know how to insert video files into a FM doc while using the DITA standard? Any suggestions would be greatly appreciated!Thanks,D'Arcy
I need to make a cross-reference to a paragraph in another chapter (ie. different file). I am not seeing how this is done.
I have a particular file, that is part of a book file. it is an FM file and I am using FM2017.every so often I notice that the icon for this file, when viewed in the book file, has an "M" instead of an "FM" like the others in the book.I found a discussion on this forum from 2013 where someone suggested to save the file as Mif, then open it and save as FM. this works, for a while, but then eventually the icon turns back to M.does anyone know what could be causing the file to change from fm to mif all on its own, without the file extension even changing? thanks
I have been able to use this feature as recently as 02/11. We did three Windows 10 updates last week.KB4487038 02/13KB4487017 02/13KB4023057 02/15I wonder if that had anything to do with it. Anyone else having this problem?Thanks.
I am currently working with Structured Adobe FrameMaker 11 (version 11.0.0.380).Is this still being supported?
I have 10 files that I frequently access. FM 2019 allows me to pin them to the Recent Files list. However, when I run the program again there could be as little as one file listed. Why do the others become unpinned?
I recently started using the 2019 edition of Framemaker (I was previously on Framemaker 10) and I cannot for the life of me find where you set PDF bookmarks -- the chapter & heading links that appear in the left column in Acrobat. In older versions of Framemaker, there was a PDF Setup dialog that you could access from the print menu. Where did that go?
I am working with a table and added a row to the bottom. As I added text to the row, it moved onto the next page. Once I clicked out of the table, I was unable to click back in it in the new row that was added. There is a squiggly paragraph symbol on the outside left of the new row in the table. This is the issue. How do I get rid of that symbol and put it beneath the table where it belongs? I am not able to place the cursor inside the table with it there. The cursor always goes outside the table to that symbol.
I am having trouble converting a structured book to a pdf. It looks like its converting to pdf when i click on save book as pdf but then nothing happens. No distiller pops up telling me it flushed it. It does create a tps file. Any idea as to what is causing this or am i missing a step in structured to convert to pdf?sam
Our production environment is experiencing a random bug that is very difficult to reproduce. Every now and then (about 1 in 100), when our customised code saves out a PDF, it fails to create the PDF it was supposed to and instead overwrites a random PDF in the user's Documents folder, preserving only the filename. To be clear, nothing at all in our customised code goes anywhere near the Documents folder. This is the snippet of code which saves the PDF:FDKPropValsT setPDFVal = F_ApiGetSaveDefaultParams();IntT iPropIndex = FDKApiGetPropIndex(&setPDFVal, FS_FileType);setPDFVal.Val()[iPropIndex].propVal.u.ival = FV_SaveFmtPdf;F_PropValsT *returnProps = NULL;F_ObjHandleT savedDocId;savedDocId = F_ApiSave(tgtBookId, PDFFileName, &setPDFVal, &returnProps);Unfortunately due to the difficulty in reproducing this bug, I have not yet had it occur while debugging the program, so I haven't been able to inspect the input paramaters, returned doc id or return props when the bug occurs. Ho
I need to reverse engineer a tool which was made to work with Framemaker 10 and make it compatible with Framemaker 2015 (the version we're currently using). However, I cannot find the Framemaker 10 installer anywhere. Can you provide a link?
Hi AllI have issue with the FrameMaker 2019 64-bit version 15.0.3.603 while generating the pdfs using an XML file. The heading "Contents" in the bookmark of the created pdfs appear as "Co nt ents"Can someone help me on this on how to fix this.ThanksRaja P
Dear friends, It seems that I stretch my knowledge to far...I have collected footnotes in an array aoFNcollected.A heading has already be placed: oPgfNow I want to place the FN paragraphs to a new place forming endnotes (remember, a footnote can contain more than 1 paragraph).for (j = 0; j < nNotes; j++) { oFn = aoFNcollected; // Fn to be handled now oFnPgf = oFn.FirstPgf; // first ¶ in footnote oPgf = oDoc.NewSeriesPgf(oPgf); // new empty ¶ in doc oDoc.TextSelection = oFnPgf; // this does not work - halt of scr
Hello,In the TechComm department where I work, we export our FrameMaker files to XML to send them out for translations. The one issue that I have run into is that we are able to export all of the Body Pages content to XML, but because the master page content is not exported, it will not be able to be translated by our translation agency. This poses a problem as our regulatory information and page headings are boilerplate and need to also be translated, but it doesn't make sense to put it on the body pages.Is there a way to export the master pages to XML so that we can translate them as well? I know that the template used in structured applications functions as a place to hold the master page information, but it seems like there would be a way to export this information as well. I would really appreciate any help with this issue.Thank you,Joseph
Dear friends and wizards!You all do know how to traverse the universe of footnotes in a document:oFn = oDoc.FirstFnInDoc; while (oFn.ObjectValid () === 1) { // do stuff } oFn = oFn.NextFnInDoc; }With this method (and also with the Find method) I get footnotes from various environments:from the main flowfrom table cells (table footnotes)from a textframe within an anchored framefrom a textframe within an anchored frame within a table cellHow can I find out, what's the 'parent environment' of a footnote is (to be precise: it's anchor object)?I have not found something useful to determine this, because a particular function I want to script should work only on the ones mentioned first: the plain ordinary footnote.For the curious: The task is to convert footnotes to endnotes.Any ideas are highly welcome!EditDo You think this could be useful:Loop through the paragraphs and check whether there is a footnote anchor in itI
Hi, does anyone know how to execute a command that your script did not create? In particular, I want to invoke the Edit > Update References command and launch that dialog box.Thanks,Russ
Is there a trick to copy text to the Windows clipboard?I'm using doc.Copy(0) and I'm getting selected text into the clipboard but it only pastes into FrameMaker and not on Windows (outside of FM).I need the text in the clipboard since I have a vba script that wants to read from its contents.Thanks!
I just updated my baseline line 2019 FM (vs. 15) to 2019 FM (vs. 15.0.3.603). Do the updates have to be incremental or can I go straight to the latest update/patch?Back in the day updates/patches required to be completed incrementally.Please clarify.Appreciate the assistance.
I have downloaded Framemaker free trial version..but while installing after 50%/80%............ of installation it failsSee Robohelp and Framemaker...free version not installing.Message was edited by: Barb Binder
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.