<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Right. Again, this is in contrast to ExtendScript/FrameScript having specific commands to open documents instead of "driving the menus."<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> framers-bounces@lists.frameusers.com [mailto:framers-bounces@lists.frameusers.com] <b>On Behalf Of </b>Jim Owens<br><b>Sent:</b> Tuesday, November 26, 2013 11:43 AM<br><b>To:</b> framers@lists.frameusers.com<br><b>Subject:</b> Re: Script to convert tables to paragraphs<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>AutoIT is capable of opening documents, editing them, and closing them in FrameMaker (by pretending to be a user driving the menus).   <o:p></o:p></p><div><p class=MsoNormal>On 2013-11-26 11:10, Rick Quatro wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I agree with your assessment of AutoIT and add my endorsement. However, it works in kind of a "playback mode" where the interface steps get executed on the active document. This is good for one-off tasks where you want to mimic what happens in the interface. With ExtendScript/FrameScript, you work with commands that can not only work on the active document, but on invisible documents that the script opens, saves, and closes for you. This is advantageous if you have a task to perform on all of the document sin a book. I would consider AutoIT and FrameMaker scripting programs to be complementary.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Rick</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Rick Quatro</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Carmen Publishing Inc.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>585-366-4017 **NEW**</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="mailto:rick@frameexpert.com">rick@frameexpert.com</a></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> <a href="mailto:framers-bounces@lists.frameusers.com">framers-bounces@lists.frameusers.com</a> [<a href="mailto:framers-bounces@lists.frameusers.com">mailto:framers-bounces@lists.frameusers.com</a>] <b>On Behalf Of </b>Shmuel Wolfson<br><b>Sent:</b> Tuesday, November 26, 2013 10:10 AM<br><b>To:</b> <a href="mailto:framers@lists.frameusers.com">framers@lists.frameusers.com</a><br><b>Subject:</b> Re: Script to convert tables to paragraphs</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><div><p class=MsoNormal>And the free editor that comes with it provides autocompletion and context-sensitive help.<br><br><br><o:p></o:p></p><pre>Regards,<o:p></o:p></pre><pre>Shmuel Wolfson<o:p></o:p></pre><pre>052-763-7133<o:p></o:p></pre><p class=MsoNormal>On 26-Nov-13 4:27 PM, Jim Owens wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>AutoIT is a powerful scripting language, and it comes with good documentation. It's intended to act as a surrogate for a human, by detecting screen or window activity and sending mouse or keyboard responses, but it's also very good for general-purpose programming. <br><br>It includes the ability to compile your AU3 program to EXE, so that you don't have to start up the scripting environment to run the script.<o:p></o:p></p><div><p class=MsoNormal>On 2013-11-26 08:10, Shmuel Wolfson wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Attached is an AutoIt script for this. AutoIt is a free scripting language for Windows. It's very easy to write AutoIt scripts for easy things like typing shortcut keys. You have to download and install AutoIt in order to run this. <br><br>Below is the script as well, but it has to be in a text file with a .AU3 extension in order to run it. You can see how simple it is. And I added a lot of comments to make it easier to understand. If you need more info, let me know.<br><br>Maybe one day I will get into ExtendScript, but AutoIt is so much easier and more pleasant to use that it's worth considering.  <br><br>Regards, <br>Shmuel Wolfson <br>Technical Writer<br>052-763-7133<br><br>; this script converts tables to text<br>; find the desired table once, before running the script<br><br>Opt("WinTitleMatchMode", 2) ; this sets the title match to be anywhere in the window title <br><br>Dim $max<br>Dim $x = 1<br><br>$max = InputBox("","How many tables?","10")<br>WinActivate(".fm") ; this activates the window that has .fm in the title bar (which may be hidden) <br>WinWaitActive(".fm")<br>While $x <= $max<br>    Send("^+f") ; presses CTRL+SHIFT+f to find next <br>    Sleep(100) ; pause 100 milliseconds - you may need to increase this time if you have a slow computer<br>    Send("!tvc") ; presses ALT+t,v,c to convert the table to text <br>    Sleep(100) ; pause 100 milliseconds - you may need to increase this time if you have a slow computer<br>    $x = $x + 1<br>WEnd<br><br>---------------------- <br><br>On 26-Nov-13 12:35 PM, Yves Barbion wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi group<o:p></o:p></p></div><p class=MsoNormal>I'm looking for a script which does the following:<o:p></o:p></p></div><p class=MsoNormal><br>1. Find tables with a specific table tag, for example "graphic_table".<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>2. Convert those tables to paragraphs (row by row).<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Anyone?<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Thanks in advance<o:p></o:p></p><div><div><div><div><div><div><div><p class=MsoNormal>-- <br>Yves Barbion<br><a href="http://www.scripto.nu">www.scripto.nu</a> <o:p></o:p></p></div></div></div></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:1.5in;margin-bottom:0in;margin-left:1.5in;margin-bottom:.0001pt'> <o:p></o:p></p></blockquote></blockquote></blockquote><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>You are currently subscribed to framers as <a href="mailto:jowens@storm.ca">jowens@storm.ca</a>.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Send list messages to <a href="mailto:framers@lists.frameusers.com">framers@lists.frameusers.com</a>.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>To unsubscribe send a blank email to<o:p></o:p></pre><pre><a href="mailto:framers-unsubscribe@lists.frameusers.com">framers-unsubscribe@lists.frameusers.com</a><o:p></o:p></pre><pre>or visit <a href="http://lists.frameusers.com/mailman/options/framers/jowens%40storm.ca">http://lists.frameusers.com/mailman/options/framers/jowens%40storm.ca</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Send administrative questions to <a href="mailto:listadmin@frameusers.com">listadmin@frameusers.com</a>. Visit<o:p></o:p></pre><pre><a href="http://www.frameusers.com/">http://www.frameusers.com/</a> for more resources and info.<o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>