Victor, Re #1, your character format isn't being created correctly because your ScrollBox is returning the name of the font, not it's number. You need to use...
1159
Victor Caston
vmcaston@...
Jul 11, 2001 6:38 pm
1160
Victor Caston
vmcaston@...
Jul 11, 2001 7:52 pm
With the help of several more experienced scripters (Frank Elmore, Elizabeth Raskob, and Rick Quatro), I was finally able to get the Find & Replace routine to...
1161
Rick Quatro
rick@...
Jul 11, 2001 8:09 pm
Hi Victor, I don't find it necessary to use your technique to prevent the endless loop. I am using FrameScript 2.0R3 with Windows FrameMaker 6.0. The NoWrap...
1162
Victor Caston
vmcaston@...
Jul 11, 2001 8:28 pm
1163
Bradford Engels
bradford@...
Jul 12, 2001 4:52 pm
Hello Everyone, Long time since I've posted to this place...been doing other things besides scripting, and that's a good thing, right? Anyway, has anyone ever...
1164
Rick Quatro
rick@...
Jul 12, 2001 5:43 pm
Brad, You can choose whether or not to display errors. In FrameScript 2.0, choose FrameScript > Options and go to the Error Handling page. Under Run Error, ...
1165
Bradford Engels
bradford@...
Jul 12, 2001 6:14 pm
Thanks for the prompt reply Rick. Your suggestion is definitely a good one for anyone not involved in debugging scripts, and should serve up the desired effect...
1166
tps@...
Jul 12, 2001 7:40 pm
Here's what I use. The assumption is that every file that is not a folder has an extension, hence a period in the file name. Any file that does not have a...
1167
Rick Quatro
rick@...
Jul 12, 2001 7:55 pm
Hi Dick, This will work in many cases; however, Windows does allows you to have folder names with periods in them, and files without periods. Your script ...
1168
nrogue@...
Jul 12, 2001 8:57 pm
Rick, Would there be a way (or do you know of a way) to disable this Display Run Error option via the script and then enable it once the script has ceased...
1169
Rick Quatro
rick@...
Jul 12, 2001 9:08 pm
Nate, No, I don't know of a way to do this, but it would be nice. Rick Quatro Carmen Publishing 716 659-8267 rick@... http://www.frameexpert.com...
1170
hedley_finger@...
Jul 13, 2001 7:27 am
Script fiddlers: I have finally got around to installing the FrameScript 2.0 evaluation. Snooping around the ScriptBuilder folder I discovered three *.eobj...
1171
Rick Quatro
rick@...
Jul 13, 2001 11:57 am
Hi Hedley, I discuss the ScriptBuilder briefly at http://www.frameexpert.com/framescript2/scriptwindow.html. Rick Quatro Carmen Publishing 716 659-8267 ...
1172
Brad McKee
BradM@...
Jul 13, 2001 3:37 pm
Hi, I'm trying to write a script that accesses a database and depending on the content of a field within a row of the recordset...the script will cycle ...
1173
Rick Quatro
rick@...
Jul 13, 2001 5:10 pm
Brad, Can you post the code you are using to cycle forward through the recordset? Thanks. Rick Quatro Carmen Publishing 716 659-8267 rick@... ...
1174
Nathan A Parker
nathan@...
Jul 13, 2001 10:04 pm
Brad: In using EQuery objects, and from the whole 16 pages of documentation on the subject, it appears that the recordsets returned by EQuery objects are ...
1175
Victor Caston
vmcaston@...
Jul 16, 2001 7:44 am
Is there a way to force a return in message box texts? (I tried adding '+\r+' but it didn't work.) Best, Victor...
1176
ian.saunders@...
Jul 16, 2001 7:48 am
Victor, Use the FrameScript variable CHARCR instead. Best wishes Ian Saunders Vodafone Ltd....
1177
pcarey@...
Jul 16, 2001 1:18 pm
Script-folk, I want to apply a certain Master Page based on the size of the first paragraph. If the paragraph spans more than one line, it requires a unique...
1178
Marcus Streets
marcus@...
Jul 16, 2001 1:28 pm
... <snip> ... You are interested in LineEnd and you want to know how many there are so try: Get TextList InObject(vPgf) NewVar(vTextList) LineEnd Display...
1179
Rick Quatro
rick@...
Jul 16, 2001 1:31 pm
Pete, To get the number of lines in the paragraph, use this: Set vPgf = ActiveDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf; Get TextList InObject(vPgf)...
1180
Brad McKee
BradM@...
Jul 16, 2001 2:06 pm
Nate, Thanks for the work-around...I ended up just doing the database stuff in Perl and passing the final data to framescript. At first I was guessing at ...
1181
Bradford Engels
bradford@...
Jul 16, 2001 5:05 pm
Morning everyone, Potential for validating SGML documents with FrameScript is sorely lacking. The only method I've found for doing so involves the F-Code...
1182
edunn@...
Jul 16, 2001 5:12 pm
Recurse through all elements checking if valid. If not set errorflag=1. No? Eric L. Dunn...
1183
Bradford Engels
bradford@...
Jul 16, 2001 5:37 pm
Thanks for the new insight Eric. Though this will end up being expensive in terms of time, but it may be my only option. I'll impliment this functionality in a...
1184
Victor Caston
vmcaston@...
Jul 17, 2001 12:43 am
Another newbie question, I'm afraid. How does one select an entire *word* in which a string occurs? BACKGROUND: I'm looking for strings like 'ffi' in all the...
1185
Brian_Smith@...
Jul 17, 2001 1:46 pm
Is there anyway to override or close the Unknown File Type dialog box that appears when I import a text file using the following FrameScript code: IMPORT File...
1186
Rick Quatro
rick@...
Jul 17, 2001 7:12 pm
Brian, You need to add the FilterFormatId parameter, which takes a string value. You can get the correct value by looking at the Filter section of the ...
1187
Bradford Engels
bradford@...
Jul 17, 2001 8:49 pm
First of all, this message is intended for scripters attempting to use the Element.ValidationFlags binary digit string property to check element validity. This...