<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
AutoIT is capable of opening documents, editing them, and closing
them in FrameMaker (by pretending to be a user driving the menus).
<br>
<br>
<div class="moz-cite-prefix">On 2013-11-26 11:10, Rick Quatro wrote:<br>
</div>
<blockquote cite="mid:009d01ceeac2$118a62c0$349f2840$@com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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;}
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-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.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]-->
<div class="WordSection1">
<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.<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>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Rick<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>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Rick
Quatro<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Carmen
Publishing Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">585-366-4017
**NEW**<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a class="moz-txt-link-abbreviated" href="mailto:rick@frameexpert.com">rick@frameexpert.com</a><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>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><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">
<a class="moz-txt-link-abbreviated" href="mailto:framers-bounces@lists.frameusers.com">framers-bounces@lists.frameusers.com</a>
[<a class="moz-txt-link-freetext" 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 class="moz-txt-link-abbreviated" href="mailto:framers@lists.frameusers.com">framers@lists.frameusers.com</a><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>
<div>
<p class="MsoNormal">And the free editor that comes with it
provides autocompletion and context-sensitive help.<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 moz-do-not-send="true"
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>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
You are currently subscribed to framers as <a class="moz-txt-link-abbreviated" href="mailto:jowens@storm.ca">jowens@storm.ca</a>.
Send list messages to <a class="moz-txt-link-abbreviated" href="mailto:framers@lists.frameusers.com">framers@lists.frameusers.com</a>.
To unsubscribe send a blank email to
<a class="moz-txt-link-abbreviated" href="mailto:framers-unsubscribe@lists.frameusers.com">framers-unsubscribe@lists.frameusers.com</a>
or visit <a class="moz-txt-link-freetext" href="http://lists.frameusers.com/mailman/options/framers/jowens%40storm.ca">http://lists.frameusers.com/mailman/options/framers/jowens%40storm.ca</a>
Send administrative questions to <a class="moz-txt-link-abbreviated" href="mailto:listadmin@frameusers.com">listadmin@frameusers.com</a>. Visit
<a class="moz-txt-link-freetext" href="http://www.frameusers.com/">http://www.frameusers.com/</a> for more resources and info.
</pre>
</blockquote>
<br>
</body>
</html>