Hi Rick,

This is exactly what I am looking for.

I am looking forward to testing it.

Thanks!

Stephen O'BRIEN
Coordonnateur de la qualité documentaire et rédacteur technique senior | 
Quality Coordinator for Documentation and Senior Technical Writer
InnovMetric Logiciels | Software
T (1) 418.688.2061


-----Message d'origine-----
De : Rick Quatro [mailto:r...@rickquatro.com] 
Envoyé : Thursday, July 21, 2016 9:41 AM
À : Stephen O'Brien; 'Frame Users'
Objet : RE: [Framers] Convert ALL text insets in All documents of a book 
automatically?

Hi Stephen,

If you have FrameScript 6, you can use this code to convert all of the text 
insets in a document to text. It could be modified to work on all of the 
documents in a book. If you don't have FrameScript, I can look and see if a 
function like this is available in ExtendScript, which is built into FrameMaker 
12. Please let me know if you have any questions or comments.
Thank you very much.

Rick Quatro
Carmen Publishing Inc.
585-366-4017
r...@frameexpert.com

Function FlattenTextInsets oDoc
//
Local oTi(0), iResult(0);

// First, unlock all of the insets.
Set oTi = oDoc.FirstTiInDoc;
Loop While(oTi)
  Set oTi.TiLocked = 0;
  Set oTi = oTi.NextTiInDoc;
EndLoop

// Convert the text insets to text.
Set oTi = oDoc.FirstTiInDoc;
Loop While(oTi)
  Set iResult = eUtl.ConvertTiToText(oTi);
  Set oTi = oDoc.FirstTiInDoc;
EndLoop
//
EndFunc
//--------------------------------------------------------------------

-----Original Message-----
From: Framers
[mailto:framers-bounces+rick=rickquatro....@lists.frameusers.com] On Behalf Of 
Stephen O'Brien
Sent: Thursday, July 21, 2016 9:28 AM
To: Frame Users (framers@lists.frameusers.com)
Subject: [Framers] Convert ALL text insets in All documents of a book 
automatically?

Hi,

I am using FM 12 and have several books with over 70 documents, all containing 
text insets.

When I generate the monthly PDFs, I copy the files to my PC, convert all the 
text insets document by document for each book, then update the books and print 
the PDFs.

I convert the text insets because I have some titles in my text insets.

I am looking for a way to convert all of the text insets throughout a book 
automatically.

Any suggestions (scripts, add-ins)?

Many thx,

Stephen O'BRIEN


_______________________________________________

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

Reply via email to