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

Re: TextLoc works once, then stops working

Hi Mark, Apparently there is a problem with the order of the commands. If you try it this way, it appears to work: var doc = app.ActiveDoc; var firstPgf =...

View Article


Re: TextLoc works once, then stops working

Yay! That works. Thanks Rick.

View Article


Re: Automating an unstructured text selection into a new DITA document

Don't know if you're still around, Cronos75, but here is a simple example of using the Open() function to create a new FrameMaker file. -------------------------// This gives you a PropVals object with...

View Article

Re: TextLoc works once, then stops working

Hi Mark (and Rick), I want to correct something in your understanding of the TextLoc object.  The order of commands does not have anything to do with the problem that the code only ran once after...

View Article

Re: TextLoc works once, then stops working

Great points Jang. Thanks for clarifying. --Rick

View Article


Re: TextLoc works once, then stops working

Ah! That's nice. Thanks Jang, you are making me smarter.  Mark

View Article

Re: TextLoc works once, then stops working

By the way, I realized where my original flawed code came from: The FrameMaker 10 Scripting Guide, p.6. It gives this sample: var doc = app.ActiveDoc;var tl = new TextLoc();var firstPgf =...

View Article

Best way to copy range of paragraphs

I'm getting all the changebars in the files of a book, and copying them out into a separate, single change document. Once I find the Pgf with the changebar, what would be the best way to copy the info...

View Article


Re: Best way to copy range of paragraphs

Hi Mark, Your thinking is right, but a couple of details are important: 1. Setting the TextRange Create two TextLoc objects, one pointing at your first Pgf with offset 0, the second one pointing at the...

View Article


Retrieving data from Excel file

Hello, I have an fm file with a list of parameters. I want to read them one by one, and plant their description in the fm file under the name of the parameter. The description is in an excel file. The...

View Article

Re: Retrieving data from Excel file

Hi, I have been using an Excel file to handle the administration of a repository management system, with hundreds of entries going into the Excel sheet and being read from the sheet by management...

View Article

Re: Retrieving data from Excel file

I don't think you can use ActiveX (or COM) objects with FrameMaker's ExtendScript. If so, I would like to know how. I agree with Jang, though. It is pretty easy to parse through a CSV file with...

View Article

Re: Retrieving data from Excel file

Hi Rick, you are right you don't have such features as ActiveX or COM-Integration with ExtendScript. If you want to have this, you have to use FDK or FrameScript.But I found a possibility on how you...

View Article


Re: Retrieving data from Excel file

If I have to do such things out from excel I work with Excel XML Calculation Tables (2003) format.Then I use XML Objects of ExtendScript. But it get's a little bit tricky due to that multiple...

View Article

Re: FM11 hanging/crashing with FrameScript 5

What did the FrameScript people tell you when you contacted them? They'reusually very good on customer support and possible bugs? Art Campbell          art.campbell@gmail.com  "... In my opinion,...

View Article


FM11 hanging/crashing with FrameScript 5

Hi My setup: FM11; Framescript 5.2 (5.2R1p251); Windows 7 FM11 is working fine ... but when l use FrameScript, the script runs OK until the end, then FM hangs for ages.Eventually the FM file reopens...

View Article

Re: Best way to copy range of paragraphs

Thanks Jang for giving me which pieces to use in which combinations. I'm trying this out now. As I loop back to get the previous heading, am I going to have trouble getting Pgfs in document order? I...

View Article


Re: FM11 hanging/crashing with FrameScript 5

Art, thanks for your reply. I requested FrameScript support only today - so probably, too soon to expect a reply. Thought folks on the Adobe forum may be having a similar problem .... and their answers...

View Article

Re: Best way to copy range of paragraphs

Here's my first rudimentary working code that selects the changebar Pgf (just one at this point), copies it, and pastes it into a second changes document. Thanks for your help Jang. // findChangebar()...

View Article

Re: FM11 hanging/crashing with FrameScript 5

Hi Mervyn, The problem is likely with your script, not FrameScript itself. Have you had trouble with the same script before? What does the script do? Also, when you get a blank screen like this, you...

View Article
Browsing all 3715 articles
Browse latest View live


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