Wanted: Open file dialog without preview
Hello all, I am struggling with the available Folder and File methods in ExtendScript. What I need to do is have the user select a file, but I do not want to show a preview of the contents of that...
View ArticleScript to install and configure startup items
Hi fellow scripters, I have been creating scripts for various customers which required installation in the startup directory of FrameMaker. Although it is easy enough to do this in Windows Explorer, it...
View ArticleSearching within a book using ExtendScript
I'm having trouble using ExtendScript to search through all the chapters in my book for a text string. The code I've posted does find the first instance of the search string in the document, but my...
View ArticleHas the ExtendScript documentation been updated for FrameMaker 11?
I have Technical Communicator Suite 4, and would like to write a simple script to automate the create of HTML Help for a FrameMaker book file.to (i.e. to automate the process of me opening the book...
View ArticleAutomating an unstructured text selection into a new DITA document
Hi everyone, Lately I've been thinking that it would come in handy to have a script that would allow me to select/highlight (using a mouse) a few words of text in an unstructured FM document, and then...
View ArticleGetting and setting attribute values [ExtendScript]
Hi colleagues, I got some code to get attribut values but have a hard time setting the value. The function SetAttributes() which I would expect seemingly does not exist. Getting an attribute value is...
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 ArticleAdd new tag with extendscripts
Hi, Is it possible to add text to a framemaker document and apply a tag to it with Extend scripts?
View ArticleInformation on workshops/ courses in using Extend Scripts in framemaker
Hi, I am based in India. I am looking for a virtual course or workshop on extend scripting, specific to frame maker. Thanks Meera venkatesan
View ArticleBuilding DLL for FDK API
In the FDK Programmer's Guide, it says <quote> Compiling and registering your own FDK clients.... With Code Generation still selected, choose Single-Threaded from the Runtime Librarypopup...
View ArticleWay to highlight marker and refer back to reference
One thing that would be nice to have is a way to highlight a reference marker in Frame and go back to where the cross-reference was created. The cross-reference could easily be in another section of...
View ArticleFind and Replace text and change font help needed.
I am completely new to Scripting and I'm sure this is quite simple but I do not know where to start.I have a FM template that is populated with "raw" text from a database.Within the text are several...
View ArticleCommand object Delete() and CommandNum property issues
Hi, FM11. I can't seem to get the Delete() method to work on commands, nor can I retreive the proper CommandNum property. For example: cmd = DefineCommand(1111, "TestScriptCommand",...
View ArticleTechnique to undo a character format application?
Hi, Seems that answers to complicated questions are a bit sparse in these parts, but I'll try again anyway I'm wondering if there is any technique to reliably undo a character format application...
View ArticleFinding the user settings directory
Hi fellow scripters, I can easily find the user settings directory in FrameScript, via Session.UserSettingsDir, but there does not seem to be an equivalent in ExtendScript. I know that FrameMaker knows...
View ArticleClearing form fields in a PDF
I am using Microtype's TimeSavers and SP Form assistant to create forms and calculators in my FrameMaker documents. Is there a way to add an extendscript that will reset/clear the fields when the PDF...
View ArticleExtendScript example for Frame - changing tags by table column
In the excellent book Unstructured Framemaker 11, there is Chapter 25 on using Extendscript, the only place I have seena cogent, coherent walkthrough of the history behind ExtendScript for Frame...
View ArticleHow to clone a data structure object (ExtendScript)?
Hi, Is there some quick way to clone a data structure, like a text range, rather than doing all this: newTR = new TextRange();newTR.beg.obj = oldTR.beg.obj;newTR.beg.offset =...
View ArticleExpanding a treeview control
Hi all, I have built a user-friendly cross-reference insertion dialog featuring a treeview that shows the hierarchy of a structured FM document. The only thing I cannot get to work is that the tree...
View ArticleFree and For-sale Scripts
Though I don't write scripts myself, I was happy when Adobe announced that ExtendScript capability would be added to FrameMaker. I thought that users would write scripts to enhance FrameMaker's...
View Article