Search the web
Sign In
New User? Sign Up
framescript-users · FrameScript Users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 9218 - 9248 of 9248   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries   (Group by Topic) Sort by Date ^  
#9218 From: "W. Neumann" <wneumann12@...>
Date: Fri Nov 13, 2009 4:03 pm
Subject: RE: Create new/change existing XRefFormat fails
wneumann12
Offline Offline
Send Email Send Email
 
Hello Klaus,

thanks, that worked except for <Absatzstandardschrift> I had to use <Default
Para Font>.
Stupid localization!

Regards
Werner


> -----Original Message-----
> From: framescript-users@yahoogroups.com
> [mailto:framescript-users@yahoogroups.com] On Behalf Of Klaus Mueller
> Sent: Thursday, November 12, 2009 11:49 PM
> To: framescript-users@yahoogroups.com
> Subject: Re: [framescript-users] Create new/change existing
> XRefFormat fails
>
>
>
> Hello Werner,
>
> > in the text only "Abschnitt <$AbsNum" appears
>
> This is caused by the localized German building block.
> Instead of <$AbsNum>, use the internal <$paranum>.
>
> $AbsNum -> $paranum
> $AbsNumExkl -> $paranumonly
> $AbsText -> $paratext
> $AbsTyp -> $paratag
> $Attribut -> $attribute
> $ChapNum -> $chapnum
> $Dateiname -> $filename
> $DateinameLang -> $fullfilename
> $ElemAbsNum -> $elemparanum
> $ElemAbsNumExkl -> $elemparanumonly
> $ElemSeiteNum -> $elempagenum
> $ElemTag -> $elemtag
> $ElemText -> $elemtext
> $ElemTextExkl -> $elemtextonly
> $SectionNum -> $sectionnum
> $SeiteNum -> $pagenum
> $SubSectionNum -> $subsectionnum
> $VolNum -> $volnum
> Absatzstandardschrift -> /
>
> Kind regards,
> Klaus

#9219 From: Mary Anthony <manthony@...>
Date: Fri Nov 13, 2009 10:12 pm
Subject: RE: Setting PDF Page Layout properties
m_m_anthony
Online Now Online Now
Send Email Send Email
 

Brandon,

 

I use a pdfmark command to set the initial page layout in a PDF. Klaus explains pdfmark in this message:

 

 http://tech.groups.yahoo.com/group/framescript-users/message/6645

 

Mary

 

From: framescript-users@yahoogroups.com [mailto:framescript-users@yahoogroups.com] On Behalf Of Brandon
Sent: Thursday, November 12, 2009 12:03 PM
To: framescript-users@yahoogroups.com
Subject: [framescript-users] Setting PDF Page Layout properties

 

 

Is there any way to set a PDF's Page Layout properties (In Acrobat, File -> Properties -> Initial View -> Page Layout) to "Single Page" instead of "Continuous?" I can't seem to even find the option outside of Acrobat (even in Distiller).


#9220 From: "Wim Hooghwinkel" <wim@...>
Date: Mon Nov 16, 2009 10:39 am
Subject: script for generating TOC on import Docbook XML
hooghwinkelwim
Offline Offline
Send Email Send Email
 

Hi,

 

FM9, Docbook

 

Does anyone have a script available (or know of an existing script or plug in) that automates the creation and generation of a generated list (TOC, Index) on opening a book XML file. In the XML the needed book elements (TOC, Index etc) are available as empty elements.

 

vriendelijke groet,

Wim Hooghwinkel

Adobe Certified Expert (ACE) in FrameMaker
                                                                        


#9221 From: Michael Müller-Hillebrand <mmh@...>
Date: Mon Nov 16, 2009 11:17 am
Subject: Re: script for generating TOC on import Docbook XML
michaelmh
Offline Offline
Send Email Send Email
 
Am 16.11.2009 um 11:39 schrieb Wim Hooghwinkel:

> Hi,
> FM9, Docbook
> Does anyone have a script available (or know of an existing script or plug in)
that automates the creation and generation of a generated list (TOC, Index) on
opening a book XML file. In the XML the needed book elements (TOC, Index etc)
are available as empty elements.

Hi Wim,

I have done that using the new structured features of FrameScript 5.x. Basically
using XSL preprocessing I add the Processing Instructions to make sure that
files are created for each generated file. I also assume that the template
already has the necessary definitions on the Reference Pages. Then, during the
opening process of the XML file, I wait until the book is complete and then
traverse the book components to set the properties of the generated files
accordingly. Updating the book is the last step... However, the solution is very
much tied to the customer’s structure. But it is possible and users quickly feel
like »Why did we ever had to set up TOCs manually?«

- Michael

--
_______________________________________________________________
Michael Müller-Hillebrand: Dokumentations-Technologie
Adobe Certified Expert, FrameMaker
Lösungen und Training, FrameScript, XML/XSL, Unicode
Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747

#9222 From: "Adrienne Conway" <aconway@...>
Date: Mon Nov 16, 2009 2:03 pm
Subject: changing track text edits
ade_conway
Offline Offline
Send Email Send Email
 
Hi all,
 
I recently downloaded Framescript and have been learning to write scripts. I'm looking for a way to change the track text edits commands for all the files in a book (in Framemaker 8). For example, I would like to apply "preview final" to all the files in a book at once. So far, I haven't been able to find any references for changing the track text edits commands.
 
Thanks,
 
- Ade Conway

#9223 From: "hrachya.aghajanyan" <hrachya.aghajanyan@...>
Date: Tue Nov 17, 2009 6:50 am
Subject: Re: SaveBookAsPdf.fsl Script and Referenced Files in Books
hrachya.agha...
Offline Offline
Send Email Send Email
 
Hi guys,

Can someone help me, please. I am not that familiar with FrameScript.
My Tcl code runs FrameScript and expects it to generate a single PDF file.

I took the SaveBookAsPdf script to generate a single PDF file, thinking that it
does so but now see that it generates separate PDF files for FrameMaker files in
the book.

Is there a way to get a single PDF file?

Please advise.
Thanks,
Hrachya

--- In framescript-users@yahoogroups.com, "hrachya.aghajanyan"
<hrachya.aghajanyan@...> wrote:
>
> Hi group,
>
> Is there a custom script available somewhere for taking care of referenced
files in a book?
>
> When I use the SaveBookAsPdf.fsl from the samples directory, it generates a
separate PDF file for each of the local .fm file in the book and disregards the
ones that are referenced files from other source directories.
>
> Normally, I would expect that this script would generate a single PDF file but
since no proper indication of whether a file is referenced or not is in place,
it simply goes and generates separate PDF files for each file that is not
referenced.
>
> Please advise.
>
> Thank you,
> Hrachya
>

#9224 From: Fred Wersan <fwersan@...>
Date: Tue Nov 17, 2009 5:48 pm
Subject: re: changing track text edits
fredwersan
Offline Offline
Send Email Send Email
 
I use the fc code to exercise change tracking commands. You can get the
fc codes with the MenuList sample script.

Fred
--
Fred Wersan
Senior Technical Writer
VT MAK
68 Moulton St.
Cambridge, MA 02138
617-876-8085 x 124

VR-Vantage, MAK's 3D Visual Solution, is here!
Find out how it can fit your simulation at VR-Vantage.com

#9225 From: "rickrett" <rickrett@...>
Date: Tue Nov 17, 2009 11:14 pm
Subject: Re: SaveBookAsPdf.fsl Script and Referenced Files in Books
rickrett
Offline Offline
Send Email Send Email
 
You can save a book file as a PDF using the "SaveFmtPdf" filetype.

Save Book BookObject(oTempBook)
   File(vPDFBookName)
   FileType(SaveFmtPdf);

Below are are some PDF settings you can make.Look at the FrameScript
documentation for details.

~Rick

// -----------
Set oTempBook.PrintFileName = vBookNameNew;
Set oTempBook.GenerateAcrobatInfo = 1;
Set oTempBook.PrintToFile = 1;
Set oTempBook.PrintThumbnails = False;
Set oTempBook.PrintSeps = False;
Set oTempBook.PrintBlankPages = True;
Set oTempBook.PrintLastSheetFirst = False;
Set oTempBook.PrintNumCopies = 1;
Set oTempBook.PrintOddPages = True;
Set oTempBook.PrintEvenPages = True;
Set oTempBook.PrintScale = '100%';
//  Set oTempBook.PDFBookmark = True; // not sure what this does
Set oTempBook.PDFBookmarksOpenLevel = PDFBookmarksOpenNoneLevel;
Set oTempBook.PDFJobOption = Print;
Set oTempBook.PDFOpenPage = 'i';
Set oTempBook.PDFZoomType = PDFZoomPage;

// The property below sets the Doc Properties "Title" and "Author"
// field (set in sub TweakBookPDFSettings)

   New StringList NewVar(sPDFDocInfo);
   Add Member('Title') To(sPDFDocInfo);
   Add Member('This is the title') To(sPDFDocInfo);
   Add Member('Author') To(sPDFDocInfo);
   Add Member('I am the author') To(sPDFDocInfo);

Set oTempBook.PDFDocInfo = sPDFDocInfo;


Save Book BookObject(oTempBook) File(vPDFBookName)
   FileType(SaveFmtPdf) PDFBookmark(True)
   PDFDistillerAbsent(0) ModDateChanged(OK)
   PDFBookmarksOpenLevel(PDFBookmarksOpenNoneLevel)
   AlertUserAboutFailure(False) ReturnNativeError(vErrorCode);


--- In framescript-users@yahoogroups.com, "hrachya.aghajanyan"
<hrachya.aghajanyan@...> wrote:
>
> Hi guys,
>
> Can someone help me, please. I am not that familiar with FrameScript.
> My Tcl code runs FrameScript and expects it to generate a single PDF file.
>
> I took the SaveBookAsPdf script to generate a single PDF file, thinking that
it does so but now see that it generates separate PDF files for FrameMaker files
in the book.
>
> Is there a way to get a single PDF file?
>
> Please advise.
> Thanks,
> Hrachya
>
> --- In framescript-users@yahoogroups.com, "hrachya.aghajanyan"
<hrachya.aghajanyan@> wrote:
> >
> > Hi group,
> >
> > Is there a custom script available somewhere for taking care of referenced
files in a book?
> >
> > When I use the SaveBookAsPdf.fsl from the samples directory, it generates a
separate PDF file for each of the local .fm file in the book and disregards the
ones that are referenced files from other source directories.
> >
> > Normally, I would expect that this script would generate a single PDF file
but since no proper indication of whether a file is referenced or not is in
place, it simply goes and generates separate PDF files for each file that is not
referenced.
> >
> > Please advise.
> >
> > Thank you,
> > Hrachya
> >
>

#9227 From: "hemnath_ad" <hemnath_ad@...>
Date: Wed Nov 18, 2009 2:45 pm
Subject: Script to check if the Table exceeds the page margins.
hemnath_ad
Offline Offline
Send Email Send Email
 
Hi all,

i have a task pending in my hand that has to check all the Tables in the in the
FM Document, whether it exceeds the page Margin, or not.

I have to get the Table left Margin, and Table Right Margin, and i have to check
whether it exceeds with the Page Left Margin and Page Right Margin.

I have got the left and right margin or the Document, by the code,

activedoc.leftmargin
activedoc.rightmargin

How do i get Table start and end point any ideas..

#9228 From: "Rick Quatro" <frameexpert@...>
Date: Wed Nov 18, 2009 3:55 pm
Subject: RE: Script to check if the Table exceeds the page margins.
frameexpert@...
Send Email Send Email
 

There is a TblWidth property, which you can add to the TblLeftIndent and TblRightIndent values to get the total width, including the indents. Then you can compare this to the column width of the SubCol containing the table.

 

Set oSubCol = oTbl.TextLoc.InTextObj;

Display oSubCol.Width;

 

Rick Quatro

Carmen Publishing Inc.

585-659-8267

rick@...

www.frameexpert.com

 

 


#9229 From: Robert Piper <rob_ea_piper@...>
Date: Fri Nov 20, 2009 9:46 am
Subject: Getting marker type and text from a paragraph
rob_ea_piper
Offline Offline
Send Email Send Email
 
Hello,

The task I'm trying to achieve is to find the index markers in a specific paragraph in a document. The paragraph is always the first one in the document file I want to limit the search to this paragraph. I have used a Get TextList command to find the markers in the paragraph and to get the paragraph text. I can display the paragraph text just fine, but I cannot get information about the markers from the text list. Can anyone tell me how to do that please?

I'm pretty new to FrameScript and would appreciate any help with this issue. My initial workings are shown in the code fragement below. The ElseIf statement successfully gives me the paragraph's text string. It is the first part of the if statement that I cannot get to work. It is here that I'd like to be able to get the marker type and marker text of the MarkerAnchor in the stringlist returned by the Get TextList command.

Regards,
Rob Piper.

Sub IndexMarkers
//Get the keyword heading from the first paragraph in the keyword file.
Set vFlow = vDoc.MainFlowInDoc;
Set vKwPgf = vFlow.FirstPgfInFlow;

//Get items from paragraph and try to identify what you've got.
Get TextList InObject(vKwPgf) NewVar(vObjList) String MarkerAnchor;
Loop LoopVar(idx) InitVal(1) Incr(1) While(idx<=vObjList.count)
//How can you get the properties of the marker object from the text list?
   If vObjList[idx].TextType='MarkerAnchor'

   The main part of the "do something here" is to get the marker type and text of the
   obtained marker anchor.

//This part is working and displays the keyword heading text.
   ElseIf vObjList[idx].TextType='String'
      SET vKwHead=vObjList[idx].textdata;
      DISPLAY vKwHead;
   EndIf





#9230 From: "Rick Quatro" <frameexpert@...>
Date: Fri Nov 20, 2009 12:05 pm
Subject: RE: Getting marker type and text from a paragraph
frameexpert@...
Send Email Send Email
 
Hi Rob,

If vObjList[idx].TextType='MarkerAnchor'
   // Get the marker object.
   Set oMarker = vObjList[idx].TextData;
   // Write the marker's text to the Console.
   Write Console oMarker.MarkerText;
   // Write the marker's type to the Console.
   Write Console oMarker.MarkerTypeId.Name;
EndIf

Rick Quatro
Carmen Publishing Inc.
585-659-8267
rick@...
www.frameexpert.com

http://www.frameexpert.com/peace/

#9231 From: Robert Piper <rob_ea_piper@...>
Date: Fri Nov 20, 2009 12:12 pm
Subject: Re: Getting marker type and text from a paragraph
rob_ea_piper
Offline Offline
Send Email Send Email
 
Hi Rick,

That's just perfect. I assumed that I had the marker objects, but just didn't know how to get the properties. Now I do! Thanks very much for your help.

Regards,
Rob.


From: Rick Quatro <frameexpert@...>
To: framescript-users@yahoogroups.com
Sent: Fri, 20 November, 2009 12:05:47
Subject: RE: [framescript-users] Getting marker type and text from a paragraph

 

Hi Rob,

If vObjList[idx] .TextType= 'MarkerAnchor'
// Get the marker object.
Set oMarker = vObjList[idx] .TextData;
// Write the marker's text to the Console.
Write Console oMarker.MarkerText;
// Write the marker's type to the Console.
Write Console oMarker.MarkerTypeI d.Name;
EndIf

Rick Quatro
Carmen Publishing Inc.
585-659-8267
rick@frameexpert. com
www.frameexpert. com

http://www.frameexp ert.com/peace/



#9232 From: "bong_death_rabbit" <dr_gonzo@...>
Date: Tue Nov 24, 2009 1:58 am
Subject: Newbie question - Opening files in a book
bong_death_r...
Offline Offline
Send Email Send Email
 
I'm not clear on how to write a script that walks through all the files in a
book. I don't want to specify file names using Open Document.

If I open all the files in the book before I run the script, what command opens
the next available file?

#9233 From: Michael Müller-Hillebrand <mmh@...>
Date: Tue Nov 24, 2009 8:55 am
Subject: ANN: FrameScript Sale
michaelmh
Offline Offline
Send Email Send Email
 
Hi,

It is 12 years since the first version of FrameScript was published and until Monday, November 30th the online store at

http://www.framescript.com/

gives everyone a 25% discount. Call it Anniversary Sale, call it Thanksgiving Sale, call it Black Friday sale. It is a good option especially for existing customers to upgrade to the latest version 5.x, which has the following benefits:

• Support for all versions of FrameMaker from 6 thru 9
• Ability to modify the open/save XML process
• No dependence on FrameMaker license key because of separate online activation, one activation is valid for all FrameMaker installation on a single computer
• Starting with 5 licenses local activation is an option
• Improved documentation structure
• Example scripts for new features

and if you are still using version 3.x you already missed those improvements of version 4:

• Step by step script debugger
• Increased performance because of optimized script parser
• Create your own dialogs

- Michael


#9234 From: Michael Müller-Hillebrand <mmh@...>
Date: Tue Nov 24, 2009 8:58 am
Subject: Re: Newbie question - Opening files in a book
michaelmh
Offline Offline
Send Email Send Email
 
Dr. Gonzo,

There is an example script that ships with the plug-in, showing you exactly how
to apply a script to all components of a book.

- Michael

Am 24.11.2009 um 02:58 schrieb bong_death_rabbit:

> I'm not clear on how to write a script that walks through all the files in a
book. I don't want to specify file names using Open Document.
>
> If I open all the files in the book before I run the script, what command
opens the next available file?

--
_______________________________________________________________
Michael Müller-Hillebrand: Dokumentations-Technologie
Adobe Certified Expert, FrameMaker
Lösungen und Training, FrameScript, XML/XSL, Unicode
Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747

#9235 From: Hrachya Aghajanyan <hrachya.aghajanyan@...>
Date: Tue Nov 24, 2009 7:00 pm
Subject: Re: Re: SaveBookAsPdf.fsl Script and Referenced Files in Books
hrachya.agha...
Offline Offline
Send Email Send Email
 

Thank you, Rick!

I seem to have solved this already.  The SaveAsPDF.fsl script works the way I want and generates a single PDF file from the book files.

Thank you!
Hrachya


On Wed, Nov 18, 2009 at 3:14 AM, rickrett <rickrett@...> wrote:
 

You can save a book file as a PDF using the "SaveFmtPdf" filetype.

Save Book BookObject(oTempBook)
File(vPDFBookName)
FileType(SaveFmtPdf);

Below are are some PDF settings you can make.Look at the FrameScript documentation for details.

~Rick

// -----------
Set oTempBook.PrintFileName = vBookNameNew;
Set oTempBook.GenerateAcrobatInfo = 1;
Set oTempBook.PrintToFile = 1;
Set oTempBook.PrintThumbnails = False;
Set oTempBook.PrintSeps = False;
Set oTempBook.PrintBlankPages = True;
Set oTempBook.PrintLastSheetFirst = False;
Set oTempBook.PrintNumCopies = 1;
Set oTempBook.PrintOddPages = True;
Set oTempBook.PrintEvenPages = True;
Set oTempBook.PrintScale = '100%';
// Set oTempBook.PDFBookmark = True; // not sure what this does
Set oTempBook.PDFBookmarksOpenLevel = PDFBookmarksOpenNoneLevel;
Set oTempBook.PDFJobOption = Print;
Set oTempBook.PDFOpenPage = 'i';
Set oTempBook.PDFZoomType = PDFZoomPage;

// The property below sets the Doc Properties "Title" and "Author"
// field (set in sub TweakBookPDFSettings)

New StringList NewVar(sPDFDocInfo);
Add Member('Title') To(sPDFDocInfo);
Add Member('This is the title') To(sPDFDocInfo);
Add Member('Author') To(sPDFDocInfo);
Add Member('I am the author') To(sPDFDocInfo);

Set oTempBook.PDFDocInfo = sPDFDocInfo;

Save Book BookObject(oTempBook) File(vPDFBookName)
FileType(SaveFmtPdf) PDFBookmark(True)
PDFDistillerAbsent(0) ModDateChanged(OK)
PDFBookmarksOpenLevel(PDFBookmarksOpenNoneLevel)
AlertUserAboutFailure(False) ReturnNativeError(vErrorCode);


--- In framescript-users@yahoogroups.com, "hrachya.aghajanyan" <hrachya.aghajanyan@...> wrote:
>
> Hi guys,
>
> Can someone help me, please. I am not that familiar with FrameScript.
> My Tcl code runs FrameScript and expects it to generate a single PDF file.
>
> I took the SaveBookAsPdf script to generate a single PDF file, thinking that it does so but now see that it generates separate PDF files for FrameMaker files in the book.
>
> Is there a way to get a single PDF file?
>
> Please advise.
> Thanks,
> Hrachya
>
> --- In framescript-users@yahoogroups.com, "hrachya.aghajanyan" <hrachya.aghajanyan@> wrote:
> >
> > Hi group,
> >
> > Is there a custom script available somewhere for taking care of referenced files in a book?
> >
> > When I use the SaveBookAsPdf.fsl from the samples directory, it generates a separate PDF file for each of the local .fm file in the book and disregards the ones that are referenced files from other source directories.
> >
> > Normally, I would expect that this script would generate a single PDF file but since no proper indication of whether a file is referenced or not is in place, it simply goes and generates separate PDF files for each file that is not referenced.
> >
> > Please advise.
> >
> > Thank you,
> > Hrachya
> >
>



#9236 From: Michael Müller-Hillebrand <mmh@...>
Date: Tue Nov 24, 2009 7:21 pm
Subject: Re: Newbie question - Opening files in a book
michaelmh
Offline Offline
Send Email Send Email
 
OK, it is part of the Lib/DocUtils.fsl.

The function "ForAllDocsInBook" is explained in the UsersGuide.pdf at page 69.

HTH,

- Michael Müller-Hillebrand


Am 24.11.2009 um 19:54 schrieb bong_death_rabbit:

> Would you mind sharing the name of the script? I looked at the names of them
yesterday and looked at their descriptions in the accompanying PDF and didn't
see anything that looked like it would do that.
>
>
> Thanks
>
> --- In framescript-users@yahoogroups.com, Michael Müller-Hillebrand <mmh@...>
wrote:
>>
>> Dr. Gonzo,
>>
>> There is an example script that ships with the plug-in, showing you exactly
how to apply a script to all components of a book.
>>
>> - Michael
>>
>> Am 24.11.2009 um 02:58 schrieb bong_death_rabbit:
>>
>>> I'm not clear on how to write a script that walks through all the files in a
book. I don't want to specify file names using Open Document.
>>>
>>> If I open all the files in the book before I run the script, what command
opens the next available file?

--
_______________________________________________________________
Michael Müller-Hillebrand: Dokumentations-Technologie
Adobe Certified Expert, FrameMaker
Lösungen und Training, FrameScript, XML/XSL, Unicode
Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747

#9237 From: "bong_death_rabbit" <dr_gonzo@...>
Date: Wed Nov 25, 2009 4:05 am
Subject: Re: Newbie question - Opening files in a book
bong_death_r...
Offline Offline
Send Email Send Email
 
Thanks very much!

--- In framescript-users@yahoogroups.com, Michael Müller-Hillebrand <mmh@...>
wrote:
>
> OK, it is part of the Lib/DocUtils.fsl.
>
> The function "ForAllDocsInBook" is explained in the UsersGuide.pdf at page 69.
>
> HTH,
>
> - Michael Müller-Hillebrand
>
>
> Am 24.11.2009 um 19:54 schrieb bong_death_rabbit:
>
> > Would you mind sharing the name of the script? I looked at the names of them
yesterday and looked at their descriptions in the accompanying PDF and didn't
see anything that looked like it would do that.
> >
> >
> > Thanks
> >
> > --- In framescript-users@yahoogroups.com, Michael Müller-Hillebrand <mmh@>
wrote:
> >>
> >> Dr. Gonzo,
> >>
> >> There is an example script that ships with the plug-in, showing you exactly
how to apply a script to all components of a book.
> >>
> >> - Michael
> >>
> >> Am 24.11.2009 um 02:58 schrieb bong_death_rabbit:
> >>
> >>> I'm not clear on how to write a script that walks through all the files in
a book. I don't want to specify file names using Open Document.
> >>>
> >>> If I open all the files in the book before I run the script, what command
opens the next available file?
>
> --
> _______________________________________________________________
> Michael Müller-Hillebrand: Dokumentations-Technologie
> Adobe Certified Expert, FrameMaker
> Lösungen und Training, FrameScript, XML/XSL, Unicode
> Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747
>

#9238 From: "bong_death_rabbit" <dr_gonzo@...>
Date: Wed Nov 25, 2009 6:25 pm
Subject: Re: search and replace fonts
bong_death_r...
Offline Offline
Send Email Send Email
 
I'm interested in more info on this very old post. Is Thomas Michanek on this
list or does somebody have an updated URL?

This isn't valid anymore:

http://w1.184.telia.com/~u18407300/fonts/unavailable.html

--- In framescript-users@yahoogroups.com, Klaus Mueller <mueller23@...> wrote:
>
> Hello Francois,
>
> > have all missing fonts replaced automatically with a specific font
> > I couldn't find the command for this automatic replacement
>
> There's no command to automatically replace all missing fonts
> in FrameScript.
> Actually, this is a pretty complex issue that can be handled
> with different approaches.
>
> To get an insight into the complexity of the problem and possible
> solutions, Keith S. (and me, too) recommends Thomas Michanek's
> http://w1.184.telia.com/~u18407300/fonts/unavailable.html.
>
> In the most simple way, you can change the font of a specific
> object with the following routine:
>
>   Set vPgf = ActiveDoc.TextSelection.Begin.Object;
>   Get Member Number(vPgf.FontFamily+1) From(Session.FontFamilyNames)
>     NewVar(vCurrentFontName);
>   Set vNewFontName = 'Tahoma';
>   Run GetFontFamily Using vFontName(vNewFontName)
>     Returns vFontNum(vNewFontNum);
>   If (vNewFontNum)
>     Set vPgf.FontFamily = vNewFontNum;
>     Write Console vCurrentFontName +' -> '+ vNewFontName;
>   Else
>     Write Console vNewFontName +' not available.';
>   EndIf
>
>   Sub GetFontFamily Using vFontName Returns vFontNum
>   Set vFontNum = 0;
>   Loop While(i <= Session.FontFamilyNames.Count) LoopVar(i) InitVal(1) Incr(1)
>     Get Member Number(i) From(Session.FontFamilyNames) NewVar(vFName);
>     If (vFName = vFontName)
>       Set vFontNum = i-1;
>       LeaveLoop;
>     EndIf
>   EndLoop
>   EndSub
>
> I would not recommend to "replace automatically missing fonts" when
> opening a document.
> Anyway, you are able to get the missing (substituted) fonts within a
> EventScript:
>
>   Event NoteFontSubstitution
>   New String IntValue(9) NewVar(vWinTab);
>   Find String(vWinTab) InString(FileName) ReturnPos(vPos);
>   If (vPos)
>     Get String FromString(FileName) NewVar(vUnavailableFont) EndPos(vPos-1);
>     Get String FromString(FileName) NewVar(vSubstitutionFont)
StartPos(vPos+1);
>     //Add Member(vUnavailableFont) To(vUnavailableFontLst);
>     write console vUnavailableFont +' -> '+ vSubstitutionFont;
>   EndIf
>   EndEvent
>
> Note that this Event is not triggered when you open a document
> with FrameScript with activated "FontNotFoundInDoc(OK)".
> ((Note also: When using this Event, FrameMaker quits with an
> internal FM Error, when opening a MIF with missing fonts
> in text lines on reference pages.))
>
> If you want to replace missing fonts, you need to check all
> font family attributes of all objects that can contain font information.
> You can check whether the font family is available or not
> with the following routine:
>
>   Set vFontNum = vObject.FontFamily+1;
>   Get Member Number(vFontNum) From(Session.FontFamilyNames) NewVar(vFontName);
>   Get Member Number(vFontNum) From(Session.FontFamilyAttributes)
NewVar(vFontAttr);
>   If (vFontAttr < 3)
>     Write Console vFontName +' is unavailable.';
>   EndIf
>
>   /* <RefQuote>
>   Session.FontFamilyAttributes (Read-Only): IntList
>   Each Integer is a packed field; the high order 16 bits indicate a surrogate
>   font, and the low order bits indicate attributes for the font family.
>   The flags, their mask values, and their meaning follow:
>   FamilyVisible    (0x00000001): Family is visible in menu.
>   FamilySelectable (0x00000002): Family can be selected in menu.
>   FamilyMapped     (0x00000004): Family is is always mapped to another family.
>   FamilySurrogate  (0xFFFF0000): The family mapped to if FamilyMapped is True.
>   </RefQuote> */
>
>
> Because of the difficulties detecting missing font locations
> (Table Formats, Book, etc.) it *may* (sometimes) be easier to save
> all files as MIF and replace the font names by hand (with a good
> S+R utility).
>
> Kind regards,
> Klaus
>
> ===========================================================
> itl Script Pool: Free downloads.
> http://www.itl.de/html/englisch/consulting/fsl/default.html
>
>
>
> At 22.04.2004 20:39, fmassamf wrote:
> >I am a newbie to Framescript/Elmscript.
> >
> >I am trying to write a code to have all missing fonts replaced
> >automatically with a specific font (e.g. HelveticaCE).
> >
> >
> >I couldn't find the command for this automatic replacement in the
> >documentation.
> >
> >Has anyone a suggestion?
> >
> >Thanks
> >
> >Francois
>

#9239 From: keith.soltys@...
Date: Wed Nov 25, 2009 6:37 pm
Subject: Re: Re: search and replace fonts
keithtsx
Offline Offline
Send Email Send Email
 
> I'm interested in more info on this very old post. Is Thomas Michanek on

> this list or does somebody have an updated URL?
>
> This isn't valid anymore:
>
> http://w1.184.telia.com/~u18407300/fonts/unavailable.html
>

A while back, I copied some of the info from Thomas' page into our
writer's guide. This is what I have.

Dealing with unavailable fonts

When you open a FrameMaker document, there are times when the message
Document named XYZ uses unavailable fonts. To reformat the document using
available fonts, click OK. This problem occurs when the fonts in the
document aren't on your system.
However, when you click OK FrameMaker doesn't remember the font settings.
This can get annoying quite quickly -- not only do you have to click OK on
the warning message each time you open the file, this problem can also
prevent FrameMaker from updating the book that the document is in.
To deal with this problem, do the following:
1.      In FrameMaker, make sure that the file that contains the missing
font is closed.
2.      Select File > Preferences > General. The Preferences dialog box
appears.
3.      Deselect the option Remember Missing Font Names and then click Set
.
4. Restart FrameMaker.
5. Open the file that contains the missing fonts, save it, then close it.

Hope this helps.

Keith
--
Keith Soltys
Senior Technical Writer
Architecture
TSX Technologies
(416) 947-4397
http://www.tsx.com/


--------------------------------------
NOTICE OF CONFIDENTIALITY
This e-mail, including all materials contained in or attached to this e-mail,
contains proprietary and confidential information solely for the internal use of
the intended recipient.  If you have received this email in error, please notify
us immediately by return e-mail or otherwise and ensure that it is permanently
deleted from your systems, and do not print, copy, distribute or read its
contents.

AVIS DE CONFIDENTIALITÉ
Le présent courriel, y compris tous les documents qu'il contient ou qui y sont
joints, renferme des renseignements exclusifs et confidentiels destinés
uniquement à l'usage interne du destinataire prévu. Si vous avez reçu le présent
courriel par erreur, veuillez nous aviser immédiatement, notamment par retour de
courriel, et vous assurer qu'il est supprimé de façon permanente de vos
systèmes; veuillez également vous abstenir d'imprimer, de copier, de distribuer
ou de lire son contenu.

#9240 From: "bong_death_rabbit" <dr_gonzo@...>
Date: Wed Nov 25, 2009 8:24 pm
Subject: Re: search and replace fonts
bong_death_r...
Offline Offline
Send Email Send Email
 
That's not what I need. Albeit this isn't a high priority I'd still like to do
it. From what I've read it's difficult so the more info I have the better.

Our documents have throughout the years become polluted by a few fonts and by
numerous character and paragraph formats that aren't visible but are still there
somehow, probably in spaces and paragraph markers.

Rather than tell Frame to forget the fonts I want to really get rid of them.
Same thing with tags; these tags, even though they're not visible, cause
thousands of errors when I generate the on-line help.

Any pointers are appreciated.

--- In framescript-users@yahoogroups.com, keith.soltys@... wrote:
>
> > I'm interested in more info on this very old post. Is Thomas Michanek on
>
> > this list or does somebody have an updated URL?
> >
> > This isn't valid anymore:
> >
> > http://w1.184.telia.com/~u18407300/fonts/unavailable.html
> >
>
> A while back, I copied some of the info from Thomas' page into our
> writer's guide. This is what I have.
>
> Dealing with unavailable fonts
>
> When you open a FrameMaker document, there are times when the message
> Document named XYZ uses unavailable fonts. To reformat the document using
> available fonts, click OK. This problem occurs when the fonts in the
> document aren't on your system.
> However, when you click OK FrameMaker doesn't remember the font settings.
> This can get annoying quite quickly -- not only do you have to click OK on
> the warning message each time you open the file, this problem can also
> prevent FrameMaker from updating the book that the document is in.
> To deal with this problem, do the following:
> 1.      In FrameMaker, make sure that the file that contains the missing
> font is closed.
> 2.      Select File > Preferences > General. The Preferences dialog box
> appears.
> 3.      Deselect the option Remember Missing Font Names and then click Set
> .
> 4. Restart FrameMaker.
> 5. Open the file that contains the missing fonts, save it, then close it.
>
> Hope this helps.
>
> Keith
> --
> Keith Soltys
> Senior Technical Writer
> Architecture
> TSX Technologies
> (416) 947-4397
> http://www.tsx.com/
>
>
> --------------------------------------
> NOTICE OF CONFIDENTIALITY
> This e-mail, including all materials contained in or attached to this e-mail,
contains proprietary and confidential information solely for the internal use of
the intended recipient.  If you have received this email in error, please notify
us immediately by return e-mail or otherwise and ensure that it is permanently
deleted from your systems, and do not print, copy, distribute or read its
contents.
>
> AVIS DE CONFIDENTIALITÉ
> Le présent courriel, y compris tous les documents qu'il contient ou qui y sont
joints, renferme des renseignements exclusifs et confidentiels destinés
uniquement à l'usage interne du destinataire prévu. Si vous avez reçu le présent
courriel par erreur, veuillez nous aviser immédiatement, notamment par retour de
courriel, et vous assurer qu'il est supprimé de façon permanente de vos
systèmes; veuillez également vous abstenir d'imprimer, de copier, de distribuer
ou de lire son contenu.
>

#9241 From: keith.soltys@...
Date: Wed Nov 25, 2009 8:39 pm
Subject: Re: Re: search and replace fonts
keithtsx
Offline Offline
Send Email Send Email
 
> That's not what I need. Albeit this isn't a high priority I'd still like

> to do it. From what I've read it's difficult so the more info I have the
better.
>
> Our documents have throughout the years become polluted by a few fonts
> and by numerous character and paragraph formats that aren't visible but
> are still there somehow, probably in spaces and paragraph markers.
>
> Rather than tell Frame to forget the fonts I want to really get rid of
> them. Same thing with tags; these tags, even though they're not visible,

> cause thousands of errors when I generate the on-line help.
>
> Any pointers are appreciated.

Ok, sorry the info wasn't of use.

I've had to do similar types of cleanup on Frame files, and I've found
that sometimes the simplest thing is to save the files as MIF and process
them outside of Frame in a text editor. You can do a lot with a good text
editor that supports regular expressions.

Regards
Keith
--
Keith Soltys
Senior Technical Writer
Architecture
TSX Technologies
(416) 947-4397
http://www.tsx.com/



--------------------------------------
NOTICE OF CONFIDENTIALITY
This e-mail, including all materials contained in or attached to this e-mail,
contains proprietary and confidential information solely for the internal use of
the intended recipient.  If you have received this email in error, please notify
us immediately by return e-mail or otherwise and ensure that it is permanently
deleted from your systems, and do not print, copy, distribute or read its
contents.

AVIS DE CONFIDENTIALITÉ
Le présent courriel, y compris tous les documents qu'il contient ou qui y sont
joints, renferme des renseignements exclusifs et confidentiels destinés
uniquement à l'usage interne du destinataire prévu. Si vous avez reçu le présent
courriel par erreur, veuillez nous aviser immédiatement, notamment par retour de
courriel, et vous assurer qu'il est supprimé de façon permanente de vos
systèmes; veuillez également vous abstenir d'imprimer, de copier, de distribuer
ou de lire son contenu.

#9242 From: John Pitt <john@...>
Date: Wed Nov 25, 2009 8:44 pm
Subject: Re: Re: search and replace fonts
johnpittau
Offline Offline
Send Email Send Email
 
Steve and Keith,

I have a similar problem, but switching off Remember Missing Fonts and resaving
just doesn't work -- and while I can get rid of some instances by a manual
search/replace in the .MIF, the problem still remains (and it seems to be
occurring in more FM docs every week).

My missing font message is:

The "ITC Stone Sans Std Medium Bold" Font is not available.
   "StoneSansStd-Semibold" will be used in this session.

We do have "ITC Stone Sans Std Medium" on all of our systems, but not "ITC Stone
Sans Std Medium Bold".



jjj


--
Pragmatism rules, OK?
John Pitt, technical writer
47 Gottenham St
Glebe  NSW  2037
Ph: +612 9692 8096
Mob: +614 3892 8096
john@...
www.pitt.net.au


On Thu Nov 26  7:24 , "bong_death_rabbit"  sent:

>      That's not what I need. Albeit this isn't a high priority I'd still like
to do it. From what I've read it's difficult so the more info I have the better.
>
>
>
>Our documents have throughout the years become polluted by a few fonts and by
numerous character and paragraph formats that aren't visible but are still there
somehow, probably in spaces and paragraph markers.
>
>
>
>Rather than tell Frame to forget the fonts I want to really get rid of them.
Same thing with tags; these tags, even though they're not visible, cause
thousands of errors when I generate the on-line help.
>
>
>
>Any pointers are appreciated.
>
>
>
>--- In framescript-users@yahoogroups.com, keith.soltys@... wrote:
>
>>
>
>> > I'm interested in more info on this very old post. Is Thomas Michanek on
>
>>
>
>> > this list or does somebody have an updated URL?
>
>> >
>
>> > This isn't valid anymore:
>
>> >
>
>> > http://w1.184.telia.com/~u18407300/fonts/unavailable.html
>
>> >
>
>>
>
>> A while back, I copied some of the info from Thomas' page into our
>
>> writer's guide. This is what I have.
>
>>
>
>> Dealing with unavailable fonts
>
>>
>
>> When you open a FrameMaker document, there are times when the message
>
>> Document named XYZ uses unavailable fonts. To reformat the document using
>
>> available fonts, click OK. This problem occurs when the fonts in the
>
>> document aren't on your system.
>
>> However, when you click OK FrameMaker doesn't remember the font settings.
>
>> This can get annoying quite quickly -- not only do you have to click OK on
>
>> the warning message each time you open the file, this problem can also
>
>> prevent FrameMaker from updating the book that the document is in.
>
>> To deal with this problem, do the following:
>
>> 1.      In FrameMaker, make sure that the file that contains the missing
>
>> font is closed.
>
>> 2.      Select File > Preferences > General. The Preferences dialog box
>
>> appears.
>
>> 3.      Deselect the option Remember Missing Font Names and then click Set
>
>> .
>
>> 4. Restart FrameMaker.
>
>> 5. Open the file that contains the missing fonts, save it, then close it.
>
>>
>
>> Hope this helps.
>
>>
>
>> Keith
>
>> --
>
>> Keith Soltys
>
>> Senior Technical Writer
>
>> Architecture
>
>> TSX Technologies
>
>> (416) 947-4397
>
>> http://www.tsx.com/
>
>>
>
>>
>
>> --------------------------------------
>
>> NOTICE OF CONFIDENTIALITY
>
>> This e-mail, including all materials contained in or attached to this e-mail,
contains proprietary and confidential information solely for the internal use of
the intended recipient.  If you have received this email in error, please notify
us immediately by return e-mail or otherwise and ensure that it is permanently
deleted from your systems, and do not print, copy, distribute or read its
contents.
>
>>
>
>> AVIS DE CONFIDENTIALITÉ
>
>> Le présent courriel, y compris tous les documents qu'il contient ou qui y
sont
joints, renferme des renseignements exclusifs et confidentiels destinés
uniquement à l'usage interne du destinataire prévu. Si vous avez reçu le
présent
courriel par erreur, veuillez nous aviser immédiatement, notamment par retour
de
courriel, et vous assurer qu'il est supprimé de façon permanente de vos
systèmes;
veuillez également vous abstenir d'imprimer, de copier, de distribuer ou de
lire
son contenu.
>
>>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

#9243 From: John Pitt <john@...>
Date: Wed Nov 25, 2009 9:48 pm
Subject: Re: Re: search and replace fonts
johnpittau
Offline Offline
Send Email Send Email
 
Hmmm. I just re-read the exerpt from Thomas's page and realised that I have not
been restarting Frame. Did that, in combination with some added font
substitutions in maker.ini, and finally no Missing Font messages -- for the
first
book anyway.

Thanks all

jjj


--
Pragmatism rules, OK?
John Pitt, technical writer
47 Gottenham St
Glebe  NSW  2037
Ph: +612 9692 8096
Mob: +614 3892 8096
john@...
www.pitt.net.au

#9244 From: "dgcuff" <subscribe@...>
Date: Thu Nov 26, 2009 4:06 pm
Subject: Re: search and replace fonts
dgcuff
Offline Offline
Send Email Send Email
 
I've used the same approach, except that I've taken it one step further by
keeping "scripts" of regular expressions. The inexpensive TextPipe Lite allows
you to automate your regular expressions, and I recommend it.

Using TextPipe Lite, I'm done the actual replacing of old fonts in a matter of
seconds (as in, under 30 seconds). Converting back from MIF to FM is actually
the longest part of the process (despite helpful plugins).

If there's a Framescript-based solution to the problem of fonts, I hope someone
will share it.


--- In framescript-users@yahoogroups.com, keith.soltys@... wrote:

> I've had to do similar types of cleanup on Frame files, and I've found
> that sometimes the simplest thing is to save the files as MIF and process
> them outside of Frame in a text editor. You can do a lot with a good text
> editor that supports regular expressions.

#9245 From: "bong_death_rabbit" <dr_gonzo@...>
Date: Fri Nov 27, 2009 5:41 pm
Subject: Newbie needs help with para formats
bong_death_r...
Offline Offline
Send Email Send Email
 
I've spent some hours on this and I'm not getting anywhere. If someone can help
me get started I'll figure out the rest.

I have a paragraph format named H1 Head1NoBreak and I would like to replace it
with another existing format named H1 Head1. IOW, I'm not creating a new format,
I'm subsituting one for the other.

Here is my script:

// Set a variable for the active document.
  Set vCurrentDoc = ActiveDoc;
// Set a variable for the first paragraph in the main flow.
Set vPgf = vCurrentDoc.MainFlowInDoc.FirstPgfInFlow;
// Get the Head1NoBreak paragraph format object.
Get Object Type(Pgf) Name('H1 Head1NoBreak') DocObject(vCurrentDoc)
NewVar(vPgfToRename);
If vPgfToRename
// If the format exists, get ready to rename.
Set vPgfToRename.Name = 'H1 Head1';
Else
// If the format doesn't exist, warn the user.
MsgBox 'Head1NoBreak is not in this document. ';
EndIf


The problem is that I get the error even though H1 Head1NoBreak is on the first
page of the document. I wonder if the problem isn't with this:

Set vPgf = vCurrentDoc.MainFlowInDoc.FirstPgfInFlow;

Or maybe I need to loop through the paragraphs, but even if I start with the
cursor on the correct paragraph I still get the error.

What am I doing wrong?

#9246 From: "bong_death_rabbit" <dr_gonzo@...>
Date: Fri Nov 27, 2009 5:48 pm
Subject: Re: search and replace fonts
bong_death_r...
Offline Offline
Send Email Send Email
 
That is very disappointing. Once upon a time we had a tools guy who wrote Lexer
scripts that would do things like this; in fact, he could do just about anything
with MIFs. The whole reason I bought FrameScript was the idea that it could do
the same kinds of things.

On to the next dilemma....

--- In framescript-users@yahoogroups.com, "dgcuff" <subscribe@...> wrote:
>
>
>
> I've used the same approach, except that I've taken it one step further by
keeping "scripts" of regular expressions. The inexpensive TextPipe Lite allows
you to automate your regular expressions, and I recommend it.
>
> Using TextPipe Lite, I'm done the actual replacing of old fonts in a matter of
seconds (as in, under 30 seconds). Converting back from MIF to FM is actually
the longest part of the process (despite helpful plugins).
>
> If there's a Framescript-based solution to the problem of fonts, I hope
someone will share it.
>
>
> --- In framescript-users@yahoogroups.com, keith.soltys@ wrote:
>
> > I've had to do similar types of cleanup on Frame files, and I've found
> > that sometimes the simplest thing is to save the files as MIF and process
> > them outside of Frame in a text editor. You can do a lot with a good text
> > editor that supports regular expressions.
>

#9247 From: "bong_death_rabbit" <dr_gonzo@...>
Date: Fri Nov 27, 2009 6:37 pm
Subject: Solved: Newbie needs help with para formats
bong_death_r...
Offline Offline
Send Email Send Email
 
I found an example in the User's Guide on which I based the following script.
The example in this post is from another post.

I'm new to both FrameScript and to scripting itself unless you count WordPerfect
5.1 macros.... So I'd like someone to comment as to the two approaches. Why is
one so much simpler than the other? Is either one better for some reason?

Here's the script that worked; note that it iterates through the entire
document.

Get Object Type(pgfFmt) Name('H1 Head1') NewVar(ParaToChangeTo);
Loop ForEach(Pgf) In(ActiveDoc) LoopVar(ParaToChangeFrom)
If ParaToChangeFrom.Name = 'H1 Head1NoBreak'
Set ParaToChangeFrom.Properties = ParaToChangeTo.Properties;
EndIf
EndLoop

--- In framescript-users@yahoogroups.com, "bong_death_rabbit" <dr_gonzo@...>
wrote:
>
> I've spent some hours on this and I'm not getting anywhere. If someone can
help me get started I'll figure out the rest.
>
> I have a paragraph format named H1 Head1NoBreak and I would like to replace it
with another existing format named H1 Head1. IOW, I'm not creating a new format,
I'm subsituting one for the other.
>
> Here is my script:
>
> // Set a variable for the active document.
>  Set vCurrentDoc = ActiveDoc;
> // Set a variable for the first paragraph in the main flow.
> Set vPgf = vCurrentDoc.MainFlowInDoc.FirstPgfInFlow;
> // Get the Head1NoBreak paragraph format object.
> Get Object Type(Pgf) Name('H1 Head1NoBreak') DocObject(vCurrentDoc)
> NewVar(vPgfToRename);
> If vPgfToRename
> // If the format exists, get ready to rename.
> Set vPgfToRename.Name = 'H1 Head1';
> Else
> // If the format doesn't exist, warn the user.
> MsgBox 'Head1NoBreak is not in this document. ';
> EndIf
>
>
> The problem is that I get the error even though H1 Head1NoBreak is on the
first page of the document. I wonder if the problem isn't with this:
>
> Set vPgf = vCurrentDoc.MainFlowInDoc.FirstPgfInFlow;
>
> Or maybe I need to loop through the paragraphs, but even if I start with the
cursor on the correct paragraph I still get the error.
>
> What am I doing wrong?
>

#9248 From: Michael Müller-Hillebrand <mmh@...>
Date: Fri Nov 27, 2009 6:54 pm
Subject: Re: Solved: Newbie needs help with para formats
michaelmh
Offline Offline
Send Email Send Email
 
Hello Dr Gonzo,

your original script was based on some wrong assumptions of how FrameMaker
works. As with any API programming it is the most work to learn how the
application behaves.

I add some comments and best practice conventions to the working solution:

Am 27.11.2009 um 19:37 schrieb bong_death_rabbit:

> I'm new to both FrameScript and to scripting itself unless you count
WordPerfect 5.1 macros.... So I'd like someone to comment as to the two
approaches. Why is one so much simpler than the other? Is either one better for
some reason?
>
> Here's the script that worked; note that it iterates through the entire
document.

Local lvParaToChange lvParaToChangeFrom;

// Get the paragraph format (!) object and save it to a variable
Get Object Type(PgfFmt) Name('H1 Head1') NewVar(lvParaToChangeTo);
// Lop through *every* paragraph on *every* page (even master pages)
// the reference to current paragraph is stored in lvParaToChangeFrom
Loop ForEach(Pgf) In(ActiveDoc) LoopVar(lvParaToChangeFrom)
   If (lvParaToChangeFrom.Name = 'H1 Head1NoBreak')
     // Apply the properties of the pgf format to the current pgf
     // this is like clicking the pgf format name in the pgf catalog
     Set lvParaToChangeFrom.Properties = lvParaToChangeTo.Properties;
   EndIf
EndLoop

I recommend you work through Rick Quatro’s tutorials to get a better grasp of
how FM works:

http://frameexpert.com/tutorials/index.htm

Especially "Navigating Paragraphs" will show a way to loop through your main
text flow.

- Michael Müller-Hillebrand

--
_______________________________________________________________
Michael Müller-Hillebrand: Dokumentations-Technologie
Adobe Certified Expert, FrameMaker
Lösungen und Training, FrameScript, XML/XSL, Unicode
Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747

Messages 9218 - 9248 of 9248   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help