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

Image may be NSFW.
Clik here to view.

Re: Setting a condition tag on an element

I always go for the easiest solutions. Makes me save time for fun stuff.

View Article


Re: Setting a condition tag on an element

View Article


How to transmit the data?

In this script I create a window with an Edittext field and two buttons. The user can write something in Edittext field. How to read these data? I want to use it like a pattern in regular expressions.I...

View Article

Image may be NSFW.
Clik here to view.

Spacing in table of contents

Is there a way to adjust, to increase, the minimum amount of spacing between a table of contents entry and it's page number for single line paragraphs? I know that I can insert non-breaking spaces in...

View Article

Automating Importing a Visio OLE Object or Changing the Source of a...

My colleagues and I import our Visio files into FrameMaker 10 via the following mechanism: File > Import > Object... > Create from File (with Link checked).  We do this because, for us, the...

View Article


Re: Automating Importing a Visio OLE Object or Changing the Source of a...

Hi Paul, I tried doing something like this years ago with FrameScript, but found out that the OLE stuff is not exposed to FrameScript or the FDK. So it is probably not exposed to ExtendScript either....

View Article

Re: Automating Importing a Visio OLE Object or Changing the Source of a...

Thanks for the response Rick!  The odd thing is that using the Import() method after renaming the original object's associated .vsd file does work sometimes (but not often).  I can't pin down why it...

View Article

Book Packager -xrefs

Frame 11 - book packager extendscript. The book packager copies external xrefed files into the inserts folder including xrefs to different chapters within the book. I don't want this to happen. How can...

View Article


Finding text with RegEx

I want to create an EScript which converts temporary citations inserted from EndNote by the final citations according to the desired standard. I had done such utilities for FM 7 and 8 (see...

View Article


Re: Finding text with RegEx

Hello Klaus, By coincidence I am working on a similar problem today, using regular expressions in ExtendScript. My problem cannot be solved directly, as the regular expression engine in ExtendScript...

View Article

Re: Finding text with RegEx

Hi Klaus, Thanks for posting here. With JavaScript regular expressions, you have to use the "g" flag to get it to find more than the first occurrence (g = global). #target framemaker var pgfText =...

View Article

Re: Finding text with RegEx

Hi Jang, Can you send me an example that shows this bug? I would like to verify it myself. Thanks. Rick

View Article

Re: Finding text with RegEx

Actually, now that I see Jang's method, it is simpler for this case. If your regular expression has capturing groups, you have to use my method. For example, let's say that you wanted to capture the...

View Article


Re: Finding text with RegEx

Hi Rick, Anything that uses the "\1" etc operators in the replace method does not give anything but whitespaces where the match results should be. I have in fact tried to reproduce the example from...

View Article

Re: Finding text with RegEx

Hi Klaus and Rick, As you are looking for particular strings, which always have double sets of square brackets around them, it is dead easy to remove those characters from the resulting match strings....

View Article


Re: Finding text with RegEx

Hi Jang, It looks like they are confusing the \1 find operator with the $1 operator. In your example, you would use this for the replacement and it works: var regex = /Fred([0-9])XXX/; var string =...

View Article

Re: Finding text with RegEx

Hi Jang, You are correct that JavaScript regular expressions don't have look behind. But in this case, it is not necessary anyway. Just use this: var string = "[Content with square brackets]"; var...

View Article


Re: Finding text with RegEx

Hi Rick, Yes, now that you have found the missing information about using $1 etc instead of \1 in the replacement result, this opens up the path that I previously thought was blocked due to the...

View Article

Re: Finding text with RegEx

Dear Rick and Jang,Thank You for Your help and advice during my absence from the discussion...It brings me forward quite a big step, because You already discussed the issue of replacement - which comes...

View Article

FrameMaker11 w/FrameScript5.2 Issue

Recently we upgraded to FrameMaker 11 from FrameMaker 6. We also upgraded to FrameScript 5.2 to be able to use scripts to automate saving books as PDF files (one of the scripts updates the conditionial...

View Article
Browsing all 3715 articles
Browse latest View live


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