Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Browsing all 888 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

search and replace texts within invisibly open documents

Hi, here in this forum I found Russ's find/change function in ExtendScript with which you can find and replace texts. The script works perfectly when the documents are open. In the case of invisibly...

View Article


Hypertext input argument method needed

Hi Fm users. We are trying to automate a bunch of activities which also includes adding hypertext (Go to URL) by taking a part of URL of the hypertext from the source word itself.. For example: xyz has...

View Article


How can set font to TextRange?

This is my code , set font of TextRange iFont=119, font name ="Tunga" var oTypedValRp = new TypedVal(); oTypedValRp.valType = Constants.FT_Integer; oTypedValRp.iVal = iFont;...

View Article

Image may be NSFW.
Clik here to view.

non-modal dialog box in FrameScript possible?

Hi,  I need a non-modal dialog box. Unfortunately, I couldn't find a useful approach to it yet and fear that it doesn't work with FrameScript. Can anybody confirm this or give me some advice how it...

View Article

Image may be NSFW.
Clik here to view.

ES: Opening the 5th book component from the end

Hello fellows, I wonder what is the best way to find the 5th book component from the end of the book (so the 1st book component to count is basically the last one).   I can loop through all components...

View Article


Image may be NSFW.
Clik here to view.

doc.Save() taking forever to complete

Hi all, I have a script that iterates through a book and saves each FM file it finds as an RTF file; however, it takes 10+ sec for the doc.Save() call to complete, which seems like a lot. Just...

View Article

Image may be NSFW.
Clik here to view.

Convert Table to Text

I cannot find a method in the framemaker scripting guide for the Table > Convert to Paragraphs command. I found a suspicious Fcode command: FCodes.KBD_TABLE_CONVERT. Not so great. I  neither like...

View Article

Update Text Insets in Doc

Hi all, Just wondering if anyone knows if there's a similar call to UpdateBook() for a doc? I'm looking to update the text insets within a document, but the FM documentation seems to be telling me this...

View Article


replace the text of an element with tag

Dear all, I want to change the complete text of an element with a certain tag, say "<bold>".I can get the tag name via elem.ElementDef.Name. But how do I get the text()-node of the Element. Is...

View Article


Image may be NSFW.
Clik here to view.

ES: run external app

Hello fellows, I wonder if there is a way in ES to launch an external application (e.g., Acrobat) with a specified path to the PDF file?I read about cross-DOM functions in the JS tools guide, but it's...

View Article

Framemaker doesn't show where text or objects are selected via Extendscript

I have some Extendscript that opens a document, locates a graphic, and selects it. The image is selected, as evident by the image details showing in Object Properties. Problem is, Framemaker doesn't...

View Article

Testing escripts with menus

Hello friends, I'm back to my project.After installing "everything needed" on a new laptop I can now run ESTK as intended and hence want to use breakpoints etc.But my breakpoints do'nt halt the...

View Article

Change row height limits

This is currently the final function in a script I have that finds empty rows in a document and deletes them. But in this instance, I don't want to delete them. I want to change the max and min row...

View Article


How to define the offset for a textrange (after a TAB)?

Dear experts,I want to grab the part after TAB in a paragraph, for example fromSomething TAB rest of the paragraph using some character formatting.I have no clue how to find the value for the...

View Article

Is it Possible terminal command via ExtendScript toolkit?

Hi everyone!  I need to use terminal command using javascript on extendscript. But, i will automate the script on macintosh and windows operating systems. Is it possible to use both in same code? For...

View Article


Image may be NSFW.
Clik here to view.

Working off paragraphs in two successive While loops

Dear experts,In continuation of "How to define the offset for a textrange (after a TAB)?" i have implemented the snippet into the existing script-flow (simplefied for the presentation here):Read an RTF...

View Article

Import graphic/image

Hi, I'm looking to import a jpg in to a mif. I have a batch of mifs within each I need to import an image directly underneath a certain table (the first table in doc).I've used the following to...

View Article


Directory manipulation as part of an Extend Script

Hello,  I am working through my first extend script. FrameMaker 12 Windows 10 Given a specified path (say "C:\MyFiles\FM_Format") containing a list of *.fm files which belong to a frame maker book, I...

View Article

Image may be NSFW.
Clik here to view.

Mouse Over Tooltip script for use with Acrobat

Hello all, I am trying to come up with a script, if possible, that will allow me to create a mouse over window or tooltip. The window/tooltip will only contain text, and I want it to work when the...

View Article

Image may be NSFW.
Clik here to view.

How do I add my business name to photos

uunsure how to put my business name onto my pictures any advise ?

View Article
Browsing all 888 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>