I need to remove trailing spaces from the ends of specific paragraphs. Actually, I need to distinguish between single sentence paragraphs and multi-sentence...
August, Here is a snippet that will remove trailing spaces from the paragraph containing the insertion point. You can expand it to work with all paragraphs in...
Rick, I've found a few documents where I work that have no MainFlowInDoc. Try debugging this by writing: Set vChapter = ActiveDoc; MsgBox vChapter; Set vFlow =...
Hi, I'm writing a spcipt to process a group of csv (comma separated variable files) into a parts book. I'm to the point that I can open a file and read all the...
... <elizabeth.raskob@B...> wrote: <snip> ... haven't ... Thanks Elizabeth, I have defined those variables earlier in the script. I just wanted to show where...
Thanks, Rick, The magic incantation was the "Suffix" option on Find String(' '). Thank you VERY much. August ... paragraph...
1590
Johan Decock
jdecock@...
Nov 5, 2001 4:17 pm
Hi, This might be a dumb one. I am wondering how I can test if a FrameMaker document variable exists in the current document. This is what I use to replace the...
1591
Marcus Streets
marcus@...
Nov 5, 2001 4:38 pm
... I Have used two techniques Attempt to create the variable and on error get the value. This ensures you end up with the variable. Another alternative is to ...
Johan, You can't trap errors on a Get command, but you can check if the object exists before using it. So you'd write Get Object Type(VarFmt) Name('RECEIVER')...
1593
Johan Decock
jdecock@...
Nov 5, 2001 5:01 pm
Many thanks! That saves the day. Johan From: "Raskob, Elizabeth" <elizabeth.raskob@...> on 05/11/2001 16:39 GMT Please respond to...
Hello Framers, In honor of Thanksgiving, I am offering big discounts on some of my plugins and scripts for the month of November. TableCleaner $40 ($20 off) ...
Hello Framescripters, I'm hoping you can help with a little (well, not so little) problem I'm having with formatting some text on the fly. I'm writing New pgfs...
In the reference manual, the New Pgf command has an option, PgfFmtName, described as "...you may optionally use this to specify the paragraph format for the...
Does anyone have any kind of compilation of corrections/additions to the FS reference manual? For instance, the "Using" operator which is required to use...
August, The syntax is: NEW Paragraph PrevObject(voOldPgf) NewVar(voNewPgf) PgfFmtName('Body'); If that doesn't help, can you send a piece of your code? ...
... Simon, you have to use a fully qualified path+filename with the Install command. If your code is inside a initial script and the other script is in the ...
... If I understand your needs (which I am not sure) the way to go would be to: * Create the paragraphs: New Paragraph... NewVar(vPgf); * Set vPgf.Text = 'your...
Hi August, Does anyone have any kind of compilation of corrections/additions to the FS reference manual? FS must haves: Rick Quattro's FS Tutorials at ...
OUCH! (Just a little embarassing.) I left out the quotes around the PgfFmtName. Of course they're needed. It's a string, it could be a variable value,...
Hello all. I've looked through the archives, but cannot find a way to scriptify word counting in Frame docs. What I basically need is to, with Framescript, ...
It'd be nice if one could call an API Client via the CallClient command, and have the client count the words and return the value. The FDK ships with a word...
Pete and others: I have compiled a special version of the Word Count plugin and called it wordcnt_Special.dll. You can download it from the Files area at ...
Thanks Rick. Works like a charm. (them there .dll's are fast!) -Pete ... called it ... copy it to ... section of ... document, ... FrameScript Script ... ...
Hello, I'm no longer new to FrameScript but apparently just incompetent :-( I am struggling to automate finding anchored frames positioned below the line that...
1612
ahoughto@...
Nov 8, 2001 12:34 am
This is a little closer to what I need to do, but I still cannot figure out how to determine if my anchored frame from the Get TextList command is ...
1613
Nigel Olliver
hersys@...
Nov 8, 2001 12:34 am
G'day from Oz, I wanted to use f-codes to make menu selections from scripts, some of which weren't available through the published f-codes in the manual. I ...