Re: Applying Conditional Text with SetProps()
Blast that Ctrl+S shortcut that sends the message, for FM users that are used to doing Ctrl+S in their sleep. Anyway, as I was saying, here is a sample I got to work. The doc and row arguments must be...
View ArticleRe: Applying Conditional Text with SetProps()
Thanks Russ! Your solution seems to work well for my use case. Do you have ideas or examples you could point me to for applying a condition to an entire table? Using GetPropIndex(tbl.GetProps(),...
View ArticleRe: Re: Applying Conditional Text with SetProps()
Trevor, To do an entire table, you would need to conditionalize the anchor. The table object itself does not have an FP_InCond property like a row. Because the anchor is part of the text flow,...
View ArticleExtract graphics in separated fm files
Hello, Iam a beginnerinExtendScriptand I needto outsourcethegraphicsof mydocs. I wish tocreate a file .fmfor each graphfound in thedocto be able togenerate the imagesapartand not havetorebuildfor each...
View ArticleSet the output format images generated from graphic elements
Hello, WhenI save as XML, mygraphicelements generate image files with several extensions .mif, .jpeg, .gifor others. Is itpossible to forcean output format?
View ArticleRe: Set the output format images generated from graphic elements
Yes, there are r/w rules that control the way graphics are exported. In particular, the anchored frame, facet, and convert referenced graphics rules are relevant. --Lynne
View ArticleRe: Set the output format images generated from graphic elements
Thanks for your answer. I don't know that much about framemaker, how do you declare r/w rules to control graphics export ?
View ArticleRe: Set the output format images generated from graphic elements
Check the Structured Application Developer's Guide at http://help.adobe.com/en_US/FrameMaker/9.0/StructuredDev/Structure_Dev_Guide.pdf. --Lynne
View ArticleRe: Re: Set the output format images generated from graphic elements
Thanks for your help Lynne, Here is the solution if it can helps, first we have to declare read/write rules file in Application Definitions (Structured Tools > Structured Application Designer).In...
View ArticleAdd elements to doc
Hi, I want to know if this is possible to manipulate fm objects to add existing elements (instanciated objects) to a document. I saw multiple ways to create doc objects but I can't found any way to add...
View ArticleRe: Add elements to doc
Hi, To insert a completely new element, you would use F_ApiNewElement() or F_ApiNewElementInHierarchy(). For some reason, neither of these appear in the PDF bookmarks of the latest FDK reference, but...
View ArticleKnowing result of XML export from ExtendScript
Does anyone have experience in tracking the status messages for an XML export from within ExtendScript ? One of my scripts publishes a book and all its chapters to XML and needs to report on possible...
View ArticleCall for more example scripts
Can someone post the following examples:1. Loop through all paragraphs in a document and if the paragraph has a specific paragraph tag (e.g., Heading 1) change one aspect of the paragraph, for example,...
View ArticleRe: Knowing result of XML export from ExtendScript
Hi Jang, you can use FA_errno after your export, here is an example with an import : var newImport = doc.Import(textLoc, newFile, importParams, retParams); // Import graphic from picture...
View ArticleCross-Reference creation
Hello to all! I am new to this amazing world of Extendscript but I have been using Framemaker since version 5.5. I am working on a kind of cross-reference manager and it works really nice. I can list...
View ArticleRe: Cross-Reference creation
Use the NewAnchoredFormattedXRef method instead. It works in my script (which creates XRefs for structured FM documents).
View ArticleRe: Cross-Reference creation
Hi Jang: First of all let me thank you for all your documentation regarding ES and Framescript, I have learn a lot with all your tips. How can I connect or link the Cross-Ref Marker to the Xref? Using...
View ArticleRe: Cross-Reference creation
Not right now. The code I have is for structured FM documents and would need some changes to make it work for unstructured documents, and I am on holiday in the Dutch Carribean. Possibly next week, if...
View Articlewrap toc book-component in toc via estk
Hi All,I am trying to wrap a new toc book-component in the toc element via extendscript code and finding that the WrapElement function fails, as do fcodes. Is this a bug or not implemented or am I...
View ArticleRe: wrap toc book-component in toc via estk
Tracey, It is impossible to tell if you do not share the code with us. There are plenty of ways in which this type of operation can fail. Kind regards Jang
View Article