The official community for FrameMaker.
Als letztes aktiv
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 flow = doc.MainFlowInDoc;var tbl = 0;var textItems = flow.GetText(Constants.FTI_MarkerAnchor);var s = "Number of Comments: " + textItems.len.toString();alert(s)for (var i = 0; i < textItems.len; i += 1){ $.write(textItems.obj.MarkerText); s = "Comment: " + textItems.obj.MarkerText + " @ " + textItems.obj.TextLoc.offset.toString() + "\n" + textItems.obj.Unique; GetUniqueObject(textItems.obj.Unique).UserString = "Added by Dan"; // Will add more useful data here}
I am able to move the formatting of the bullet, but the text associated stays as is. How can I adjust the text so that it is associated with the same selected indent as the bullet?
Using FM 2019 all patched up.How do I preset PDF properties I create from FM, such as Magnification set to Fit Page?Also, how do I publish an optimized PDF from FM? For example, I just published a PDF from FM that was 15 MB and then I optimized it in Acrobat IX Pro and the file is now 1.5 MB. I would prefer that FM just create the 1.5 MB PDF in the first place.Cheers,Sean
I am using Window 10, FM 2019Picture 1: Design in FM. Titel and reference are designed in a very dark blue.Picture 2: Output im PDF. Result is a grey rather dark blue.Picture 3: Setting - I have tried serveral other PDF settings with the same result. Was can be the problem?Andreas Nielen-HaberlECOS
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 framemakermain ();function main () { var j, oDoc = app.ActiveDoc, oFrame, oSelected, oTextLine, sText, oTextLoc, oTR, CM = 1857713, DEGREE = 65536; oSelected = oDoc.FirstSelectedGraphicInDoc; oFrame = oSelected.FrameParent; oTextLine = oDoc.NewTextLine(oFrame); oTextLoc = new TextLoc (oTextLine, 0); oDoc.AddText (oTextLoc, "New text"); oTextLine.BasePointX = oSelected.BasePointX; // not changed oTextLine.BasePointY = oSelected.BasePointY + 1*CM; oTextLine.StyleTag = "fh2-fig-heading2"; oTextLine.Angle = 5 * DEGREE; oTextLine.Fill = 0; // not used ! oTextLine.Color = oDoc.GetNamedColor("Magenta"); // does not work} //--- end mainSource TextLine selected, then script applied: Resultant 'clone' is an object TextLine, in
Running FrameMaker 2019 rel. 15.0.1.430, Win 7 - 64 bit.I am trying to publish a bunch of files to PDF for print output, but I keep getting empty PDF's with a dialogue stating stat the have "Invalid ColorSpace"Printing the docs with "High Quality Print" and not "Press Quality" makes it work. Only that was not what I was trying to do...What might be wrong? I thought Adobe had this "CMYK color thing" in FrameMaker fixed by now.Best regardsBjørn
I have 64-bit FrameMaker 2019 in Windows 10 all patched up.There is an instance of Doric Bold, a Type 1 PFM file, that is not Saving as PDF from the File menu but also not from the Publish pod. The character appears correctly as a registered trademark symbol ® in FrameMaker 2019 but in PDF as a capital A with an accent grave atop it. (Note, if I copy and paste that accented A in this HTML window, it pastes as the registered trademark symbol.) Acrobat does correctly identify the font of the character in question as Doric Bold.The character Saved as PDF just fine in FrameMaker 12 in Windows 8.1. But, my system has changed since then.In addition to FrameMaker 2019, I have Acrobat XI Pro on my system. I have gone through Distiller and set Doric Bold to always embed. I have tip-toed through the Adobe PDF printer instance and deselected "Rely on system fonts only; do not use document fonts" with no change. I don't think it matters, but I have TrueType Font set to Download as Softfont a
Hi,I have FM 2019 version 15.0.1.430. How do I set the Publish pod to save my PDF to the same location as the current book file?When I Publish to PDF, a folder is created from the book filename, and in that folder a subfolder is created for PDF, and the PDF is put there. I don't want all that drek.I want the PDF to be placed in the same folder as the current book.I also notice that if I open a second book from a different location than the first book, the Publish pod seems to place the output PDF of the second book in the subfolders for the first book and not the second book, which is a pain.Thoughts?Sean
Hello all,Sigh....Where are my leaders? I did what I've done before (in the reference page - inserted a tab and updated to have dots) but it seems to have no affect to the body page
Hi, in Framemaker 2019 v15.0.1.430, I just generated a list of figures (LOF) page, but even if I change a paragraph tag to add some formatting (trying to add a title) there is no change, I tried importing the formats from an empty document with just the formatting I need but there is no change, I even checked the reference page and I see a style ActiveLOF.xml not listen on the paragraph catalog, is there a bug in this workflow or am I doing something wrong ?Any help would be much appreciatedErikPSThis happens on the first line of the LOF document, when I enter a hard return I can add some formatting
Hello,I have a cover page that uses figures, then a generated LOF, then a body page that uses more figures.The figure numbers restart in the body page (and therefore in the LOF).I have researched this issue and followed all suggestions to no avail.There are no other counters using F: in the paragraph designer numbering.I've searched for paragraph format overrides and nothing.I've ensured that book and component files are set to "continue from previous file in book".I have updated the book numerous times.WHAT is going on here that I am missing?This is the LOF:All use the following paragraph numbering (for all book components) in the BODY pages:Here is the code in the reference page:Does anyone have any clues what is going on? Any help is much appreciated.Thanks.
I am using unstructured FrameMaker version 13.0.5.547. I have a chapter template with caution icon graphics included in the reference pages that are used with all our safety warnings in our documents. Why do these caution icon graphics not come through into HTML when I publish to Responsive HTML5? When I first tried doing this, the graphics were saved as PSD files in the reference pages. I changed them to PNG files because I thought HTML might play nicer with them. Didn't work.
How to parse .fm file and store its content in another .fm file using FDK2019?
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 file without altering its Paragraph Format.I tried with below code, it is copying to the array but failing to paste at Destination file. Please suggest.var book = app.ActiveBook;var Data = [] ;if(!book.ObjectValid()) { book = app.FirstOpenBook;}if(book.ObjectValid()){ app.ActiveBook = book; var pgf, pgf1, doc, SrcDoc, DstDoc, index, lastPgf, i ; var comp = book.FirstComponentInBook; while(comp.ObjectValid()) // Book loop to push all paragraphs from Source files { doc = OpenFile(comp.Name); // Have function to Open File if (doc.Name.match ("Source")) &
Why is it taking so long to create pdf from a FrameMaker book. New is a relatively new Creative Suite install.
HiIs it possible to change the settings file for publishing PDF from a .book file which was saved from ditamap with fm components?What I tried to do was- Create a ditamap- Save as book with fm components- Try to publish PDF files with different backgrounds (Normal, Confidential watermark, Draft watermark......) Main idea to have exactly same file with different stamps. For the process (write-check-approve) it would be the best.I know how to add watermarks with Acrobat but I thought it could be done with these settings files in FrameMaker. From help.adobe.com I noticed that PDF is not mentioned in Multi-Channel publishing under Structured authoring using DITA.I'm asking just to make sure that it really isn't possible.
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 create an empty TextLIne at the desired place and with the desired angle.But how to put text into it?// Clone a selected TextLine to check the function#target framemaker var j, oDoc = app.ActiveDoc, oFrame, oTextLine, CM = 1857713, DEGREE = 65536; oSelected = oDoc.FirstSelectedGraphicInDoc; oFrame = oSelected.FrameParent; oTextLine = oDoc.NewTextLine(oFrame); // Take over specifications from selection // there needs to be text to get the TextLine visible!//oTextLine.AddText ("New text"); // statement not valid oTextLine.Angle = 5 * DEGREE; oTextLine.BasePointX = oSelected.BasePointX;&n
I am making responsive HTML help, from Frame 2017Is it possible to define the font of the TOC that appears in the help fileI used the Settings to determine the font of the regular headers and footers etc. but the TOC on the Help is differentIf it can be changed, so howthanks
I downloaded the trial edition of FrameMaker 2019 onto two different computers (with two different valid FrameMaker subscriptions) to upgrade the accounts from 2017 to 2019. On the first computer, everything works fine (Laptop, Windows 10 Pro, i7), but on the other computer (Desktop, Windows 10 Home, i7) it won't open past the splash screen. It makes it all the way to "Password" on the splash screen, then crashes. What can I do to get the trial to open so I can upgrade the account?
I just upgraded FrameMaker 2019 64-bit to 15.0.1.430 (from Nov 1, 2018), but I still get inconsistent performance when printing a FM doc file to .pdf - occasionally, the FM Doc File Info (Author, Title, Subject, Keywords, Copyright, etc.) doesn't get imported into the generated .pdf file, and I have to manually enter the FM Doc File information under the .pdf file's File > Properties > Document Properties > Description tab. Alternately, if I Save As.pdf instead of Printing the FM Doc file to .pdf, the FM Doc File Info imports fine. Has anyone else noticed this? Thanks in advance.
I am not sure if the orginal source doc was prepared using Frame, but that's where I would like to end up. What I've tried so far:Trying to import the file directly from the PDF into Frame - only allows importing one page at a time. Is there a setting I can change?Exporting the PDF as RTF, and then importing the RTF file into Frame - results in a crash.Converting the PDF into Word, and then importing the Word file into Frame - still doesn't hold on to its styles.I have the Tech Comm suite - is there another tool that I could use?Is there a straightforward and time saving method to accomplish this?
Hello all,Is there some reason I do not see the para tag TableTitleLOT in the list of tags in the paragraph designer?Thanks in advance/.Regards,BenFM2017
I am editing an existing user manual.I updating information on several pages which will throw off the actual pages versus the TOCI added two new header sections (Heading 3, not a chapter) that should show in the TOCI performed the steps to update the pages, chapters, and footnote for page numbers in the footer - all of that was successful.However, when I save to PDF, the TOC is not updating.I manually add the (2) new headers where they should go by copying and pasting a similar. So they are there and formatted, but not linking.I have tried several times to "Update the Book" with just the book open and not documents open, and the TOC does not update. The Update Book has nothing in the "Generate:" field. (see capture)The "Setup Table of Contents" does not display on the "Edit" menu. I see the following. How do I update the TOC to reflect the new page numbers and the new headers? Thanks!
I am trying to convert Framemaker 12 created files to Framemaker 15 in my mac, via a VMWare which has a windows environment. I get unavailable fonts error. I see that fonts like Palatino are not available. How can I update my font list and how to make sure that these files are saved correctly?
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 this situation.1. var text1 = "USE PROTECTIVE EQUIPMENT (GOGGLES FACE SHIELD) WHEN USING COMPRESSED AIR."2. var text2 = "USE PROTECTIVE EQUIPMENT (GOGGLES FACE SHIELD) WHEN USING COMPRESSED AIR."3. if (text1.match (text2))4. alert ("Text matches");5. else6. alert ("Text Do Not Match");
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.