Hi Rick, This sounds very much like it should be done using XSLT. XSL is the language to modify XML files! Regarding the preservation of entities I had success...
Hi scripters, Here's my problem: I have conditionalized (30 condition tags for 30 languages) warning texts in named frames on a specific reference page in a FM...
If you have it at hand, you could try it with FrameMaker 8, which supports more virtual fonts (FontSubstitutes) than FrameMaker 9. Another option would be to...
Hello Scripters, I want to use a series of buttons in an EForm and have them behave somewhat like checkboxes or toggle buttons. Is there a way to have a button...
Rick Quatro
frameexpert@...
Jul 8, 2009 8:20 pm
9036
Hi Rick, Just off the top of my head (it's been a while since I messed with EForms): Could you change the background color on the button (like from grey to ...
My coworker is working on some Flare output. The graphics are coming out in anchored frames set to "at insertion point." Our standard is "Below current line."...
I need to tabs back-2-back in an index. 1 tab works fine. But if I immediately follow it with another tab, only 1 tab seems to be placed in the generated...
Chris, This is a forum for users/programmers of the FrameScript plug-in for FrameMaker. Most members apparently will have a certain knowledge of FrameMaker,...
Hi Chris, This is a known issue that goes way back. Since you are using FrameScript, generate the index with a character between the tabs, and use a script to ...
Rick Quatro
frameexpert@...
Jul 16, 2009 12:16 pm
9044
Sorry, I'll use the Framemaker group next time. Thanks Rick for the insight. ... -- ... Chris Moore (972) 288-5007 (972) 288-5058 fax...
You'd have to Change the .AnchorType property. It's pretty well documented in the FrameScript reference manual, but this should do it: //-- Selected Graphic in...
Hi, I'm looking for a way to tell whether a script was called from a RunEslBatch or from within Framemaker. I've searched for caller, client, command line and...
Hi Mary, When you call it from RunEslBatch, are you passing in any arguments? If so, you can test the Args.Count property to see if it is greater than 0. ...
Rick Quatro
frameexpert@...
Jul 18, 2009 12:54 am
9048
Rich, Thanks for the answer. Yes, I have tested for Args.Count in the past and that does work. It is just that I was hoping there was some other definitive ...
Hello, Is there some system variable that can be used to access the current clipboard contents? I need to access the contents of the clipboard and perform some...
Hello, Is there some system variable that can be used to access the current clipboard contents? I need to access the contents of the clipboard and perform some...
Hi, Is passing arguments to FrameScript possible? I read that RunEslBatch can pass arguments to a script, but what we want to achieve is a little bit...
Hi Hrachya, You can pass any number of arguments to FrameScript using RunEslBatch. The syntax is in the documentation, but basically the -f flag precedes the...
Rick Quatro
frameexpert@...
Jul 28, 2009 2:53 pm
9053
Thanks for the pointers, Rick! I sort of guessed that it's possible in FrameScript. I will give this a thorough read and will get back with questions if I have...
Hi Brandon, The other approach is to abandon the Import command and use Read File to read it line-by-line. You can use Set sColumns =...
Rick Quatro
frameexpert@...
Jul 30, 2009 4:08 pm
9056
Came up with another approach. Since the script is already opening the text document first as text to check for and remove some other things before converting...
I looked at this posting and tried Rick's solution and it works great. I've been trying to modify the code to work on the currently selected elemnt instead of...
Hi, Here is a function that returns the specified attribute value from the selected element. Set oDoc = ActiveDoc; Set oElement =...
Rick Quatro
frameexpert@...
Aug 3, 2009 6:50 pm
9059
Thanks Rick. This works nicely. I had figured out a less elegant way of getting the Attribute value on my own. In my case the attribute I am testing can...
You can convert the tokenized string to a string list and then search the string list: Set sValue = 'ASNGW CF CLOSEDRP' // Convert the value into a stringlist....
Rick Quatro
frameexpert@...
Aug 3, 2009 7:40 pm
9061
That works Nicely! As usual Rick, you are the best! It was that pesky "eStr.ToStringList" command I was missing. Gonna have to make a note of that. Thanks, ...