Hi Michael, I just received this from Finite Matters regarding FrameScript 2.0 for Macintosh: FrameScript 2.0 for the MAC Now Available For Download Now the...
1013
Rick Quatro
rick@...
Jun 1, 2001 11:30 am
Dick, Which dialog box is being displayed? If it is the Unknown File Type dialog, you may have to supply a value for the FilterFormatId parameter. Actually,...
1014
solvejg@...
Jun 1, 2001 2:09 pm
Hi I'm new to the list and also quite new to writing scripts. I have a big sripts that generates a lot of tables using a certain table format. (Thank you Nancy...
1015
Rick Quatro
rick@...
Jun 1, 2001 4:38 pm
Solvejg, First of all, use the NewVar parameter on the New Text command. This will return the TextLoc at the end of the paragraph. New Text...
1016
Yosuke Ichikawa
ichikawayosuke@...
Jun 4, 2001 8:07 am
... Since FrameMaker/Mac can be scripted with AppleScript, if there was a comparative argument of the advantages of FrameScript/Mac against FrameMaker...
1017
Simon Bate
simon.bate@...
Jun 4, 2001 7:44 pm
A co-worker wrote a script to convert paragraph formats from an earlier set of templates to our newer templates. She based it on the ChangeParagraphFormat...
1018
Robert Caceres
robert_caceres@...
Jun 5, 2001 9:53 pm
On a book-level script, I am running into problems with simple file management. The problem: my "close files" command crashes FrameMaker. // After checking for...
1019
Rick Quatro
rick@...
Jun 5, 2001 10:11 pm
Hi Bob, The Close Document command needs a document object for its DocObject property. The File property is not valid for Close Document and that is probably...
1020
pcarey@...
Jun 5, 2001 10:27 pm
Just a guess, but doesn't your loop variable (bookcomp2) become invalid after you close it? For the same reasons that : Loop ForEach(Pgf)...
1021
Robert Caceres
robert_caceres@...
Jun 6, 2001 2:01 pm
In my many trials, my error(s) were indeed using the incorrect object. Instead of using the newvar "dobj" in my failed operations, I was using the loop...
1022
solvejg@...
Jun 7, 2001 8:02 am
Thank you Rick! I tried to use New VariableFormat command (That didn't work): New VariableFormat name('Table Continuation') ....... Instead of the one you...
1023
Rick Quatro
rick@...
Jun 7, 2001 12:16 pm
Hi Solvejg, The New VariableFormat command creates a new user Variable Format available for use in the document. Your first command wouldn't work anyway,...
1024
Rick Quatro
rick@...
Jun 7, 2001 1:31 pm
If you step out of FrameScript for a minute and think of a FrameMaker book, it simply contains pointers to the documents it contains. The documents are ...
1025
john.harrison@...
Jun 7, 2001 2:29 pm
How do I apply a table format to a selected table (such as selecting the appropriate Table Tag and pressing Apply in the Table Designer dialog)? John Harrison ...
1026
Raskob, Elizabeth
elizabeth.raskob@...
Jun 7, 2001 4:17 pm
John, You need to use the TblTag property. So if your table is identified as voTable, write: Set voTable.TblTag = 'Format A'; Elizabeth ... From:...
1027
Dick Girard
tps@...
Jun 7, 2001 5:23 pm
John, If you manually select a table, use this: SET SeletedTbl.TblTag = 'Format A'; If you are using a table object named vTbl, use this: SET vTbl.TblTag =...
1028
Rick Quatro
rick@...
Jun 7, 2001 6:04 pm
John, One caution to this method. When you set the table's TblTag property to another format, it does not change the other properties of the table. You need to...
1029
john.harrison@...
Jun 7, 2001 6:24 pm
Thanks Elizabeth and Dick, I can change the Tbltag value, but my table does not reformat like it does when I select Apply in the dialog. (Specifically, the...
1030
john.harrison@...
Jun 7, 2001 6:30 pm
Thanks Rick. Works like a champ. ... property to ... table. You ... the ... selecting ... Designer...
1031
Johan Decock
jdecock@...
Jun 8, 2001 2:01 pm
Hi, I'm new to this list and I would like to do the following: I want to present the user with a Dialog Box and give some explanation. What I want is to...
1032
Karl Obermayr
Karl.Obermayr@...
Jun 8, 2001 2:49 pm
Scripters, i've been trying for a while to change all aframes in all docs in a book from anchor below to anchor inline, but somehow didn't succeed. You all...
1033
Rick Quatro
rick@...
Jun 8, 2001 3:43 pm
Hi Karl, It would have been nice to see some of your attempts, but here is the basic idea. // Test for an active document. If ActiveDoc = 0 MsgBox 'There is no...
1034
Tim Meiers
Tim.Meiers@...
Jun 8, 2001 3:45 pm
Karl, You need to set the AFrame's anchortype to AnchorInLine. Take a look at the example script below. Extract what you need. Regards, Tim /* This script...
1035
Raskob, Elizabeth
elizabeth.raskob@...
Jun 8, 2001 6:25 pm
Johan, Replace InvValue(10) with the CharCr constant to get your line break. I don't know of any way of getting rid of the OK button, but you could keep ...
1036
Johan Decock
jdecock@...
Jun 8, 2001 8:27 pm
Many Thanks Elizabeth. That did the trick. I have phrased it like this to show my annoyance with this OK button. I guess I'll keep 2 buttons doing the same...
1037
Johan Decock
jdecock@...
Jun 8, 2001 8:39 pm
Hi, Another thing I have been strugglig with is the deletion of a file that doesn't exist. It raises an errror. I want to suppress that error (but of course I...
1038
Chris Moore
ods@...
Jun 8, 2001 8:49 pm
Can someone please help me get started. I am obviously very new to Framescript (but not Frame). How do I draw a vertical line on the left edge & right edge of...
1039
john.harrison@...
Jun 8, 2001 9:42 pm
How do I get the width of an anchored frame inside a one-cell table? Our template uses a one-cell table to hold an anchored frame (which holds the imported...
1040
Chris Moore
ods@...
Jun 8, 2001 9:49 pm
Ok, I have created the line and set its position using the following code: Set pageObj = FirstBodyPageInDoc; Set FrameObj = pageObj.PageFrame; New Line...
1041
Rick Quatro
rick@...
Jun 8, 2001 9:53 pm
I usually use a ForEach loop and test for the file in the folder. // Set a variable for the file to delete. Set vFileToDelete = 'DeleteMe.fsl'; // Set a...