Re: [Framers] Convert ALL text insets in All documents of a book automatically?

2016-07-21 Thread Stephen O'Brien
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


Re: [Framers] Frame 2015 error when saving

2016-07-21 Thread Norton, Michael
The graphics are stored locally.


Michael Norton | Principal Technical Writer, Robotics and Workforce 
Intelligence |  Pegasystems Inc.

-Original Message-
From: Alan Houser [mailto:a...@groupwellesley.com] 
Sent: Thursday, July 21, 2016 3:58 PM
To: Norton, Michael ; framers@lists.frameusers.com
Subject: Re: [Framers] Frame 2015 error when saving

FrameMaker is rather intolerant of network latency. Since you mentioned 
referenced graphics and intermittent errors ... are the graphics on a network 
drive? That may be a root cause.

You might set up a document with local referenced graphics to test this 
hypothesis.

-Alan
---

Alan Houser
Group Wellesley, Inc.
Consultant and Trainer, Technical Publishing arh on Twitter
412-450-0532

On 7/21/16 3:32 PM, Norton, Michael wrote:
> Craig Ede replied:
>
>
>
> ---
>
> We used to see this kind of error on Unix when the disk quota area was too 
> small (resulting in lost graphics and gray boxes replacing the lost 
> graphics). It only affects embedded graphics. There may be a Windows resource 
> that has not allocated enough memory. Any framers out there who have dealt 
> with this on Windows machines?
>
> ---
>
>
>
> This error seems to only affect referenced graphics and I get it on a Windows 
> 7 machine. It is an intermittent error. Adobe Support contacted me, but so 
> far there are no answers. Often, I can close the file, reopen it, and save it 
> again with no problem. I've seen it occur on small files and large file. I am 
> using a SaveAsMIF script to automatically create a MIF file when I save, but 
> Adobe didn't think that would cause the problem.
>
>
>
> The error text is...
>
>
>
> An internal error occurred while writing imported graphics in this document 
> The file has been saved, but has lost some image data. Please report this 
> Error to Adobe Technical Support.
>
>
>
>
>
> ___
>
> 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

___

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


Re: [Framers] Frame 2015 error when saving

2016-07-21 Thread Norton, Michael
Craig Ede replied:



---

We used to see this kind of error on Unix when the disk quota area was too 
small (resulting in lost graphics and gray boxes replacing the lost graphics). 
It only affects embedded graphics. There may be a Windows resource that has not 
allocated enough memory. Any framers out there who have dealt with this on 
Windows machines?

---



This error seems to only affect referenced graphics and I get it on a Windows 7 
machine. It is an intermittent error. Adobe Support contacted me, but so far 
there are no answers. Often, I can close the file, reopen it, and save it again 
with no problem. I've seen it occur on small files and large file. I am using a 
SaveAsMIF script to automatically create a MIF file when I save, but Adobe 
didn't think that would cause the problem.



The error text is...



An internal error occurred while writing imported graphics in this document The 
file has been saved, but has lost some image data. Please report this Error to 
Adobe Technical Support.





___

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


Re: [Framers] Convert ALL text insets in All documents of a book automatically?

2016-07-21 Thread Michael Pearson
Here's a similar function for ExtendScript:

//~ This function loops all text insets on the document's body pages
(including hidden conditional text) and converts them from referenced to
copied into doc.
function LoopAllTextInsets(doc) {
var showAll = doc.ShowAll;
doc.ShowAll = true;
var textInset = doc.FirstTiInDoc;
while (textInset.ObjectValid()) {
var nextInset = textInset.NextTiInDoc;
if (textInset.TiFile != '') {
textInset.UpdateTextInset();
textInset.ConvertToText();
counter = counter + 1;
}
textInset = nextInset;
}
doc.ShowAll = showAll;
msg = counter + ' text insets converted to editable text. ';
}


On Thu, Jul 21, 2016 at 6:41 AM, Rick Quatro  wrote:

> 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
>
___

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


Re: [Framers] Convert ALL text insets in All documents of a book automatically?

2016-07-21 Thread Rick Quatro
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


[Framers] Convert ALL text insets in All documents of a book automatically?

2016-07-21 Thread Stephen O'Brien
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
Coordonnateur de la qualité documentaire et rédacteur technique senior | 
Quality Coordinator for Documentation and Senior Technical Writer
InnovMetric Logiciels | Software
sobr...@innovmetric.com
T (1) 418.688.2061
F (1) 418.688.3001
[cid:image001.gif@01D1E332.3304AF30]
AVIS DE CONFIDENTIALITÉ/CONFIDENTIALITY NOTICE: Ce message peut contenir des 
renseignements confidentiels appartenant exclusivement à InnovMetric Logiciels 
inc. ou à ses filiales. Si vous n'êtes pas le destinataire indiqué dans ce 
message (ou responsable de livrer ce message à la personne indiquée ou prévue) 
ou si vous pensez que ce message vous a été adressé par erreur, vous ne pouvez 
pas utiliser ou reproduire ce message, ni le livrer à quelqu'un d'autre. Dans 
ce cas, veuillez le retourner à l'expéditeur et le détruire. Proprietary 
confidential information belonging to InnovMetric Software Inc. and its 
affiliates may be contained in this message. If you are not a recipient 
indicated or intended in this message (or responsible for delivering this 
message to such a person), or you think for any reason that this message may 
have been addressed to you by mistake, you may not use or copy this message, or 
deliver it to anyone else. In which case, notify the sender and destroy the 
e-mail.

___

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