Hi folks, Everytime I write a text into a textfile I get an CR LF at after my text. Is it possible to get an output without the CR LFs? Example: New TextFile ...
895
Marcus Streets
marcus@...
Apr 2, 2001 12:26 pm
... As far I am aware each write command writes a line, complete with line endings. However you can use write object(vFile) 'Test1' + 'Test2'; or set strVar...
896
Robert Caceres
robert_caceres@...
Apr 2, 2001 2:40 pm
Thanks to Elizabeth for putting me on the right track. The script she posted, though, did not compile because of incompatible data types; the "Set xxx = xxx +...
897
Brian Lindgren
mandolindgren@...
Apr 2, 2001 4:59 pm
In many *word processing* type programs (at least in Word and WordPerfect), it is possible to build an index by developing a concordance file containing all...
898
Philip Sharman
psharman@...
Apr 2, 2001 11:44 pm
Okay, I'm missing something here... I want to apply the paragraph format 'Body' to every paragraph, but this script seems to have no effect. Get Object...
899
Simon Bate
sbate@...
Apr 2, 2001 11:55 pm
Philip, Rather than use Apply, you can simply say: thePgf.properties = thePgfFmt.properties; That'll do it for you. Simon v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v ...
900
Rick Quatro
rick@...
Apr 3, 2001 12:00 am
Hi Philip, The Apply TextProperties command requires a text range variable. Since you are applying paragraph format properties to the paragraphs, you simply...
901
hedley_finger@...
Apr 3, 2001 1:47 am
... WordPerfect), ... containing all ... the ... Each to his own taste. However, I have produced many indexes and the problem with a concordance as index is...
902
edunn@...
Apr 3, 2001 1:02 pm
Why include the commas in the stringlist? Change your output to insert the commas as required. // Find and write graphics filenames. // Graphic filenames are...
903
Joseph Lakey
jhlakey@...
Apr 3, 2001 3:01 pm
Philip, I think that you need to add an additional line to actually apply the pgf tag to each pgf. The script as it is written should apply the formatting ...
904
Philip Sharman
psharman@...
Apr 3, 2001 3:36 pm
Thanks! P....
905
Philip Sharman
psharman@...
Apr 3, 2001 3:36 pm
Thanks! P....
906
Brian Lindgren
mandolindgren@...
Apr 3, 2001 4:31 pm
I understand your points, which are well-taken. For the documents I am working on, concordance files would be the way to go. As far as you know, is there a way...
907
Rick Quatro
rick@...
Apr 3, 2001 5:25 pm
Brian, Here is an outline of one way you could do it. I have not included code, since it would take much more than is practical to post on this forum. 1) Start...
908
hedley_finger@...
Apr 3, 2001 11:00 pm
... won't > have to get IXgen or another third-party application? ... hand-created ... candidate ... of ... Rick could answer this better than me. IXgen is...
909
Smith, Martin
martin.smith@...
Apr 4, 2001 6:38 am
I decided to write a script that inserts index markers into every chapter of a FrameMaker book, based on entries in a text file. The pros and cons of using a...
910
Robert Caceres
robert_caceres@...
Apr 5, 2001 7:27 pm
I am trying to write a script that "cleans" the text in a string list item so that the final result is suitable for use as a variable for our Java interpreter....
911
Rick Quatro
rick@...
Apr 5, 2001 8:02 pm
Hi Bob, If you are using FrameScript 2, you can take advantage of some new string manipulation features. Here is a not-so-useful example from the Scriptwriters...
912
Raskob, Elizabeth
elizabeth.raskob@...
Apr 5, 2001 8:42 pm
Bob, When you get the text, you get the characters only - so removing the character tags is already done. Elizabeth ... From: Rick Quatro...
913
Paul Kretschmer
pkretsch@...
Apr 6, 2001 10:48 pm
Gurus, I installed FrameScript a few weeks ago. It changed the way FrameMaker opens -- now a dialog box appears that has the FrameScript registration ...
914
Paul Kretschmer
pkretsch@...
Apr 6, 2001 10:54 pm
Never mind. I solved it myself. FrameScript > Options uncheck the signon message box Then WWP worked properly. ... [Click Here to Find Software Faster] Click...
915
Raskob, Elizabeth
elizabeth.raskob@...
Apr 6, 2001 10:56 pm
You can disable the sign on screen from the FrameScript Options dialog box. On the General tab, uncheck the Signon Message Box. Hope that lets WWP work - I...
916
Robert Caceres
robert_caceres@...
Apr 10, 2001 1:52 pm
FrameScript lets you create new files. Can it create (and name) new directories into which to put the files? I'm not able to find this in the reference...
917
Marcus Streets
marcus@...
Apr 10, 2001 1:59 pm
... Try something like this: New Textfile File('foo.bat') NewVar(FooFile) IOType(writeonly); Write Object(FooFile) 'mkdir bar'; Write Object(FooFile) 'del...
918
ods@...
Apr 10, 2001 6:20 pm
I have the following script (without the line #'s): 1 Loop ForEach(Pgf) In(vCurrentDoc) LoopVar(vPgf) 2 // Make sure the paragraph is on a body page. 3...
919
Betty Man
man_bty@...
Apr 11, 2001 1:02 am
I am new to FrameMaker (5.5.6) and FrameScript(2.0R3). Objective: I need to change hundreds of hard code section number into a Frame maker cross reference. For...
920
elizabeth.raskob@...
Apr 11, 2001 2:55 pm
Another tweak that can be useful: If you change the Function String lines to: /Function String = "%Sub [a-zA-Z_]*" /Function String 1 = "%Event [a-zA-Z_]*" you...
921
Robert Caceres
robert_caceres@...
Apr 11, 2001 8:48 pm
The simple (ha ha) trick I am trying to accomplish is to evaluate the contents of a table cell. Specifically, I want to count how many paragraphs there are...
922
Raskob, Elizabeth
elizabeth.raskob@...
Apr 11, 2001 9:00 pm
Bob, Try this - works in 2.0 Set voPgf = vFirstCell.FirstPgf; Loop While(voPgf) <<your code that evaluates paragraphs>> Set voPgf = voPgf.NextPgfInFlow; ...
923
Robert Caceres
robert_caceres@...
Apr 11, 2001 9:15 pm
I suspect a list record has been accomplished: a query asked and answered within a minute (note the times the messages below were posted). Yes, the paragraph...