Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Browsing all 3715 articles
Browse latest View live

Getting text from footnotes

Dear all, Having managed to extract citations from ordinary paragraphs and table cells I now want to get it also from footnotes. See the complete script and test-doc (FN-11) doc here. I get the first...

View Article


Re: Getting text from footnotes

Hi Klaus, Use NextPgfInFlow Rick

View Article


Re: Getting text from footnotes

Thank You, Ric, that worked.However, i had to add a 'stop', because an endless number of empty footnotes were found.function processFootnote (fn, doc) { // find citations in footnotes     var fnText =...

View Article

Table footnotes

Hello friends,Obiously table footnotes are not the same objects as footnotes (in text flows). They are not found with the script as described in my post message/5430068#5430068. They are also flows (I...

View Article

Re: Getting text from footnotes

Hi Klaus, The code in your function is not quite right. The way I understand it, you are using the processFootnote function to process a single footnote. If that is the case, then this line: while...

View Article


Re: Table footnotes

Hi Klaus, There is no special table footnote object in FrameMaker. There are two ways to get to table footnotes: 1) Loop through all of the document's Fn objects. var doc = app.ActiveDoc; var fn =...

View Article

Re: Table footnotes

Rick,The first method would be my favour (it is elegant), but it continues after the last table-footnote with the first normal footnote - thus creating a 'loop'.I have not yet found a method to stop...

View Article

ANN: FrameScript v.6 beta available

FYI, Frank Elmore has announced the availability of FrameScript v.6 for beta testing. There are some very powerful new features that should make this a compelling upgrade.  For full details, please see...

View Article


FrameMaker 11 - Structured/DITA - Modifications to the Style Sheet Vanish

I need to permanently modifiy the style sheet for the project in which I am currently involved. I can modify the style sheet for each file. PDF it and it looks fine. However, when I save it and reopen...

View Article


Batch processing only files containing specific DITA topic

Hallothis is a pre-sale question. I'm considering Framemaker for a customer who basically needs a DITA tool.After editing a topic used in many documents, is it possible to batch-publish all the...

View Article

Changing the text inset's source file with a script

I'm looking for a way to replace an existing text-inset in a document with the contents of an other file (by reference), by means of scripting. Say, I have a document c:\referer.fm, in which there is a...

View Article

Re: Changing the text inset's source file with a script

Hello David, You are not manipulating the text inset but a copy of the text inset's filename. Your parameter "pathtosource" is a local copy of the property you read from the actual text inset. Try this...

View Article

Re: Changing the text inset's source file with a script

Thank you very much, Jang! That does the job. (For anyone else who is reading and trying this, Jang's line textinset.TiFile "c:\\B.fm" should have been: textinset.TiFile = "c:\\B.fm" just a typo in the...

View Article


Re: Getting text from footnotes

Thanks Rick - this solved the problem. Now I'm able to collect the citations in- ordinary paragraphs,- table cells- foot notes- table foot notes.For the purpose of my project I postpone looking into...

View Article

Re: Table footnotes

This has been solved by Rick's answer to my post "Getting text from footnote".

View Article


File name of current document

Hello friends, Now that I have managed to find citations (special strings) in paragraphs, footnotes, tables and table footnotes - all with your generous help - I need to find out the file name (path)...

View Article

Image may be NSFW.
Clik here to view.

console log display odds

Writing stuff to the console displays some characters not correct. When I copy the string in question from the console window into the document window - or into another application, the string displays...

View Article


Manipulating the clipboard

I wanted to set up a command and shortcut to surround clipboard contents by [[ and ]] before pasting.The purpose is to insert temporary citations which are put into the clipboard by an external...

View Article

Re: Manipulating the clipboard

Something very strange happens:$.includePath generates a string ending with a semicolon, for example:E:\_DDDprojects\FM+EN-escript\escript;Hence the following does not find and execute my compiled AHK...

View Article

Re: File name of current document

Friends, Suddenly I have found the answer (searching in the oject reference for "filename" rather than "file name" - "pathname" in the FDK reference):alert ("Now processing book\n"+...

View Article
Browsing all 3715 articles
Browse latest View live


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