Regex problem
Dear friends,My project again is stuck in a hopefully trivial problem. Until now I searched for items in doulbe brackets, such as [[Dante, #712]]. But this form is somewaht superficial. When using...
View ArticleA Script UI demo
Dear all,To give back some of the knowledge I acquired from this forum I have set up a more or less complete demo of the ScriptUI features.For my project I needed a modeless message function with...
View ArticleFrameScript to run FrameScript?
I know this is primarily an ExtendScript forum, but I see other questions about FS, so thought I would give it a shot. My project uses an FS to get data from an Access database and create a structured...
View ArticleAccess MySQL from ExtendScript
Did anyone use ExtendScript to connect to a MySQL database, for retrieving and storing data?
View ArticleCopy paragraph to another doc
Dear friends,Again I'm stuck in the jungle of objects and properties...I want to push a pargraph (containing character formats) in an array to be able to get it out later (in another document) for...
View ArticleRenaming files in a book
Hi everyone, I need to rename files in a book, but from within the book. A Save as... won't update the cross refrences. I see an fcode for this (FCodes.KBD_BOOKRENAMEFILE), but I've been advised not to...
View ArticleAutomate the process of saving Framemaker documents (*.fm) as Xml Files
Hi,I am new to framemaker. We have a list of Framemaker document files (*.fm files) coming into a folder. We need to pick up these files and convert to xml format (same as the saveAs opertion from...
View ArticleCopy paragraph to another doc - lesson 2
I need to separate the task into 2 functions, because the second function will be used multiple times if processing book files.In GetBiblioFromRTF paragraphs from document-1 are stored into a global...
View ArticleNot well-formed (invalid token)
Dear experts,During developing my script - I can not use the ESTK on my system - with editing it in EditPad (UTF-8 file) and then executing it in FM-12 I got the message:Script Error : Error Message...
View ArticleSome questions to the experts
I have observed some things the reason for which I do not understand:What is the purpose of function Main () ?Is it just a wrapper around the initial stuff ?I assume that global definitions must still...
View ArticleScript will not run with ]]> in it
Hi, This is just a heads up, perhaps someone could verify... if I put the character sequence ]]> anywhere within a JSX file, even within a comment, the script won't run when invoked from the toolkit...
View ArticleRemove Save Files dialog in FM12
Hello. We have FrameMaker plugin system, which manages our own saving of FrameMaker files.It works in FrameMaker 10. But now in FM12 this dialog appears:And we need to disable this dialog and continue...
View ArticleFM File Comparison Utility -- Figure/Table Comparison Issue
Hello fellows, The Framemaker file/book comparison utility seems to be a half-baked feature that is incapable of showing differences between 2 versions of a table/figure. Moreover, when a table is...
View ArticleHow do I update the tabstop information on a pgf
I have> var doc=app.ActiveDoc; SelectElement (doc, para); var textRange = new TextRange; textRange.beg.obj = textRange.end.obj...
View ArticleIs it possible to remove data from cells depending on the content of the...
Is it possible to remove data from cells depending on the content of the neighbouring cells of a Framemaker table?Below is a very basic example of the predicament I have. I have hundreds of tables that...
View ArticleEvent for document activate.
Hello. We have requirement to change menu according which document is opened and activated in Framemaker.We have different types of document, but all are FrameMaker FM document. I search for some event...
View ArticleOpening Word files from a script
I need to open Word files from an Extenscript, and I cannot find the required info in the docs. I did check the FDK documentation and I assume I need to specify a FileTypeHint, but there is no info on...
View ArticleDisplay tags of a frame document in an alert box using FDK
Hi All, I'am learning to use the fdk , wanted to know if its possible to get all the tags present in the active frame document can someone point me out to a function or a snippet to do this ? Lost in...
View ArticleUndo support around extendscript command
This probably should be obvious, but how can "undo" be supported for a custom command(in Framemaker 10? I found app.beginUndoGroup() for another product but frame gives an unknown method call for...
View ArticleFailed: Script to save ditamap to FM with ditaval file
Hi FM scripting Gurus, I'm stuck in the following issue and need help: I'm trying to write a script to save ditamaps to composite FM files with ditaval file specified. I use the document property...
View Article