<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - FrameMaker Scripting</title>
    <link>https://forums.adobe.com/community/framemaker/extendscript</link>
    <description>All Content in FrameMaker Scripting</description>
    <language>en</language>
    <pubDate>Thu, 13 Nov 2014 14:31:39 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-11-13T14:31:39Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Script does not work anymore after updating to FM 12.0.3</title>
      <link>https://forums.adobe.com/thread/1634286</link>
      <description>&lt;!-- [DocumentBodyStart:65c2349e-76d6-457c-9e4a-12ae89eca0e6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;With TCS5, Robohelp would crash when importing FrameMaker books to RH, because the FM files had embedded graphics. So, I found a script to externalize the graphics before doing the import (the script is: &lt;a class="jive-link-external-small" href="http://blogs.adobe.com/techcomm/2011/12/extendscript-of-the-week-externalizing-graphics.html" rel="nofollow"&gt;ExtendScript of the week: Externalizing Graphics &amp;#171; TechComm Central by Adobe&lt;/a&gt;). However, this script is not working since I updated from 12.0.2 to 12.0.3. And without this script, we can't create HTML5 output!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Although I wrote a few simple scripts, this one is quite complex and would be difficult to debug. Anyone here knows what could have changed to make the script useless after such a small update? Or can update this script to make it work?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:65c2349e-76d6-457c-9e4a-12ae89eca0e6] --&gt;&lt;img src='/beacon?t=1415936227748' /&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">framemaker_12</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">graphic converter</category>
      <pubDate>Thu, 13 Nov 2014 14:31:39 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1634286</guid>
      <dc:date>2014-11-13T14:31:39Z</dc:date>
      <clearspace:dateToText>13 hours 5 minutes ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>ES for FM10: Adding text at insertion point</title>
      <link>https://forums.adobe.com/thread/1633978</link>
      <description>&lt;!-- [DocumentBodyStart:c6dccf1d-8436-4452-9204-fc60dad55cad] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello fellows,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What's the code for current insertion point (where the cursor is currently placed?)&lt;/p&gt;&lt;p&gt;I saw code for adding text in the beginning/end of pgf but not at the current insertion point.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you in advance!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c6dccf1d-8436-4452-9204-fc60dad55cad] --&gt;</description>
      <pubDate>Thu, 13 Nov 2014 07:27:47 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1633978</guid>
      <dc:date>2014-11-13T07:27:47Z</dc:date>
      <clearspace:dateToText>12 hours 51 minutes ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Applying a Character Format to a Character</title>
      <link>https://forums.adobe.com/thread/1599858</link>
      <description>&lt;!-- [DocumentBodyStart:2156513a-d5de-4527-94fa-c78b5518e4ec] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am trying to apply a character format to a single character.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have tried :&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;MyDoc.SetTextVal(myrange,Constants.FO_CharFmt ,"RoundFont")&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;and&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; var charFmtId = MyDoc.GetNamedObject(Constants.FO_CharFmt, "RoundFont");&lt;/p&gt;&lt;p&gt; var myprops = MyDoc.GetProps(charFmtId)&lt;/p&gt;&lt;p&gt; MyDoc.SetTextProps(myrange, myprops);&amp;nbsp; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;neither work unfortunately - I have been trying for two weeks!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I know the "myrange" is Ok because I can delete characters in the range correctly and add a character instead.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2156513a-d5de-4527-94fa-c78b5518e4ec] --&gt;</description>
      <pubDate>Fri, 10 Oct 2014 16:12:36 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1599858</guid>
      <dc:date>2014-10-10T16:12:36Z</dc:date>
      <clearspace:dateToText>1 month 4 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Can a script execute another script?</title>
      <link>https://forums.adobe.com/thread/890873</link>
      <description>&lt;!-- [DocumentBodyStart:4edaa2f2-6473-4600-b375-e257416610cf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Dear colleagues,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am not talking about calling a function from another file for which I used the #include directive. I want to execute a .jsx that I know only at runtime.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Until now I have found this: If a script file contains&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;#target framemaker&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;it is possible to use &lt;strong&gt;File(lvFilename).execute()&lt;/strong&gt; (without the target instruction the script would simply open in ESTK).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But: The execute() method triggers a warning that I should execute only scripts from trustworthy sources (or so&amp;hellip;).&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there any other method to execute other scripts? Or is there a way to make my scripts trustworthy?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Michael&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4edaa2f2-6473-4600-b375-e257416610cf] --&gt;</description>
      <pubDate>Sun, 14 Aug 2011 13:09:04 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/890873</guid>
      <dc:date>2011-08-14T13:09:04Z</dc:date>
      <clearspace:dateToText>1 month 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>9</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Start a new book and add files</title>
      <link>https://forums.adobe.com/thread/1591753</link>
      <description>&lt;!-- [DocumentBodyStart:e6d3825b-269b-42a4-b4be-ca6309e96fe2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi, I'm fairly new to FrameMaker scripting. This is what I'm trying to do and where I'm at:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) Convert .mif files to .fm files (completed)&lt;/p&gt;&lt;p&gt;2) Start a new book&lt;/p&gt;&lt;p&gt;3) Add each .fm in folder to book in step 2.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help in getting started with step 2 &amp;amp; 3 would be greatly appreciated.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks, Kevin&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e6d3825b-269b-42a4-b4be-ca6309e96fe2] --&gt;</description>
      <pubDate>Thu, 02 Oct 2014 20:32:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1591753</guid>
      <dc:date>2014-10-02T20:32:32Z</dc:date>
      <clearspace:dateToText>1 month 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Help F_ApiEnableUnicode(True) returns -1.</title>
      <link>https://forums.adobe.com/thread/1589210</link>
      <description>&lt;!-- [DocumentBodyStart:d95f1af6-991f-4a61-aa82-08e6bc1e9271] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;With FM 12 and fdk 12 the F_ApiEnableUnicode(True)&amp;nbsp; returns -1. Help me pls. &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d95f1af6-991f-4a61-aa82-08e6bc1e9271] --&gt;</description>
      <pubDate>Tue, 30 Sep 2014 11:00:41 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1589210</guid>
      <dc:date>2014-09-30T11:00:41Z</dc:date>
      <clearspace:dateToText>1 month 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Help F_ApiEnableUnicode(True) returns -1</title>
      <link>https://forums.adobe.com/thread/1589383</link>
      <description>&lt;!-- [DocumentBodyStart:1aa8b5cb-f7f0-4044-9482-4194e44ad9f2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;With FM 12 and fdk 12 the F_ApiEnableUnicode(True)&amp;nbsp; returns -1. Help me pls. &lt;/p&gt;&lt;p&gt;The function is not working, with FM 10 I haven't this kind of problem. I tested the following code as described in fdkprogrammerguide.pdf and the result is incorrect, it displayed&amp;nbsp; the same characters both with Unicode disabled / enabled&lt;/p&gt;&lt;p&gt;F_ApiEnableUnicode(False);&lt;/p&gt;&lt;p&gt;F_ApiAlert("This is Unicode: \xC3\xA4 \xEB\xAE\xA4 \xD8\xB4",FF_ALERT_CONTINUE_NOTE);&lt;/p&gt;&lt;p&gt;F_ApiEnableUnicode(True);&lt;/p&gt;&lt;p&gt;F_ApiAlert("This is Unicode: \xC3\xA4 \xEB\xAE\xA4 \xD8\xB4",FF_ALERT_CONTINUE_NOTE);&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1aa8b5cb-f7f0-4044-9482-4194e44ad9f2] --&gt;</description>
      <pubDate>Tue, 30 Sep 2014 15:35:31 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1589383</guid>
      <dc:date>2014-09-30T15:35:31Z</dc:date>
      <clearspace:dateToText>1 month 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Range comparison</title>
      <link>https://forums.adobe.com/thread/1576390</link>
      <description>&lt;!-- [DocumentBodyStart:9eee3460-6241-4c1a-bd14-3d4a0a13cd11] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm new in FDK and try to compare two ranges to define which of them is the first one in the document. But I didn't find any function in FDK.&lt;/p&gt;&lt;p&gt;Does anyone know ways to do it?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9eee3460-6241-4c1a-bd14-3d4a0a13cd11] --&gt;</description>
      <pubDate>Tue, 16 Sep 2014 08:49:49 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1576390</guid>
      <dc:date>2014-09-16T08:49:49Z</dc:date>
      <clearspace:dateToText>1 month 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Looking for Scripts that Replaces Text and Master Pages (Batch Missing Files and PDFs)</title>
      <link>https://forums.adobe.com/thread/1577352</link>
      <description>&lt;!-- [DocumentBodyStart:e34e0d3c-62fb-4287-a4b1-ee0d3dd18b07] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have just found the Script Library panel in FM 10. (Always used InDesign before.)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm up to replace a text string and two master pages in 100+ documents. Tried to google for some nice solutions to make this automatically but cannot find any scripts/macros to FM at all.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you have som tip where to find such scripts/macros? &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To &lt;span class="hps"&gt;facilitate my work I also look for a batch script that automatically updates the image pathes in each framemaker file (image folder has been renamed).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="hps"&gt;And at a last FrameMaker -&amp;gt; PDF Batch converter.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e34e0d3c-62fb-4287-a4b1-ee0d3dd18b07] --&gt;</description>
      <pubDate>Wed, 17 Sep 2014 09:42:03 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1577352</guid>
      <dc:date>2014-09-17T09:42:03Z</dc:date>
      <clearspace:dateToText>1 month 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Correct way to search for character within a string</title>
      <link>https://forums.adobe.com/thread/1575676</link>
      <description>&lt;!-- [DocumentBodyStart:65af4f62-85ce-4e20-94a5-d56ada7fbd39] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am trying to search for the occurrence of a "(" within a text string - unfortunately my code is reported as incorrect.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I extract the text correctly but cannot create the search statement correctly:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;var mylistpgftext = pgf.GetText (Constants.FTI_String)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;for (var i=0; i &amp;lt; mylistpgftext.length; i++)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var mylistitem = mylistpgftext[i].sdata&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var mybracketpos = mylistitem.search(/(/i)&amp;nbsp;&amp;nbsp;&amp;nbsp; --------------error line-----------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (mybracketpos != -1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(mylistitem)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:65af4f62-85ce-4e20-94a5-d56ada7fbd39] --&gt;</description>
      <pubDate>Mon, 15 Sep 2014 16:29:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1575676</guid>
      <dc:date>2014-09-15T16:29:18Z</dc:date>
      <clearspace:dateToText>1 month 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Access MySQL from ExtendScript</title>
      <link>https://forums.adobe.com/thread/1478587</link>
      <description>&lt;!-- [DocumentBodyStart:f27237d3-e2c7-4d4c-b7c5-b28d5389babc] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Did anyone use ExtendScript to connect to a MySQL database, for retrieving and storing data?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f27237d3-e2c7-4d4c-b7c5-b28d5389babc] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">database</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">sql</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">connections</category>
      <pubDate>Tue, 20 May 2014 12:59:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1478587</guid>
      <dc:date>2014-05-20T12:59:18Z</dc:date>
      <clearspace:dateToText>2 months 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Process XML attributes of all tables in a structured document</title>
      <link>https://forums.adobe.com/thread/1565490</link>
      <description>&lt;!-- [DocumentBodyStart:8432de7d-1ea9-4e51-b8ad-d346464f86d2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I try to process the XML attributes of all tables in a structured document.&lt;/p&gt;&lt;p&gt;When I use SelectedTbl everything works fine for the selected table and the attributes of the tabelle Element are written correctly to the Console.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;doc = app.ActiveDoc;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;table = doc.SelectedTbl;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;if (table.TblElement)&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;{&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console('Elementname: ' + table.TblElement.ElementDef.Name);&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tblEle = table.Element;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; attrs = tblEle.GetAttributes();&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i = 0; i &amp;lt; attrs.len; i++) {&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aName = attrs[i].name;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aWert = attrs[i].values;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console( "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " + aName + "&amp;nbsp;&amp;nbsp;&amp;nbsp; " + aWert);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;However when I use GetText(Constants.FTI_TblAnchor) to walk through all tables of the documens neither ElementDef.Name nor Attributes are processed.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;var flow = doc.FirstFlowInDoc;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;var textItems = flow.GetText(Constants.FTI_TblAnchor);&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;while(iTab&amp;lt;textItems.length) {&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;table = textItems[iTab].obj;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;if (table.TblElement)&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;{&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console('Elementname: ' + table.TblElement.ElementDef.Name);&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tblEle = table.Element;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; attrs = tblEle.GetAttributes();&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i = 0; i &amp;lt; attrs.len; i++) {&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aName = attrs[i].name;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aWert = attrs[i].values;&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console( "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " + aName + "&amp;nbsp;&amp;nbsp;&amp;nbsp; " + aWert);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any Suggestions?&lt;/p&gt;&lt;p&gt;Yours&lt;/p&gt;&lt;p&gt;Wolfgang&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8432de7d-1ea9-4e51-b8ad-d346464f86d2] --&gt;</description>
      <pubDate>Thu, 04 Sep 2014 12:49:09 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1565490</guid>
      <dc:date>2014-09-04T12:49:09Z</dc:date>
      <clearspace:dateToText>2 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Doc Import Param to suppress XML import validation message</title>
      <link>https://forums.adobe.com/thread/1562505</link>
      <description>&lt;!-- [DocumentBodyStart:a1654d6f-38e3-4436-a39d-1713abf4d377] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm running a script where the first part is to import an xml document, then to make some changes to the imported xml.&lt;/p&gt;&lt;p&gt;Problem is, the xml may not always be valid. If it isn't I would like to still make the changes regardless.&lt;/p&gt;&lt;p&gt;Unfortunately, my code is not running as I end up with "Validation of XML file failed. Continue? " prompt.&lt;/p&gt;&lt;p&gt;Can I somehow suppress this ?&amp;nbsp; or is there a way to send the OK key hit - so my code can just continue without requiring any user interaction ?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; var importParams = GetImportDefaultParams();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=GetPropIndex(importParams,Constants.FS_ImportAsType);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; importParams[i].propVal.ival=Constants.FV_TYPE_XML;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=GetPropIndex(importParams,Constants.FS_FileIsXmlDoc);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; importParams[i].propVal.ival=Constants.FV_DoOK;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=GetPropIndex(importParams,Constants.FS_AlertUserAboutFailure);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; importParams[i].propVal.ival=0;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=GetPropIndex(importParams,Constants.FS_DontNotifyAPIClients);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; importParams[i].propVal.ival=1;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // var importParams = GetImportDefaultParams();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i=GetPropIndex(importParams,Constants.FS_HowToImport);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; importParams[i].propVal.ival=Constants.FV_DoByCopy;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var returnParams = new PropVals() ;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("importing");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doc.Import (doc.TextSelection.end , filename, importParams, returnParams);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.ActiveDoc = doc;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;do_something_else();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks!&lt;/p&gt;&lt;p&gt;Tracey&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a1654d6f-38e3-4436-a39d-1713abf4d377] --&gt;</description>
      <pubDate>Mon, 01 Sep 2014 02:42:49 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1562505</guid>
      <dc:date>2014-09-01T02:42:49Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Change Color in CellOverrideShading</title>
      <link>https://forums.adobe.com/thread/1558691</link>
      <description>&lt;!-- [DocumentBodyStart:f6b3f0f9-4a76-4fce-aa0f-ef770d5f592a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried to change the color in CellOverrideShading but I didn't get it.&lt;/p&gt;&lt;p&gt;My attempts were the following:&lt;/p&gt;&lt;p&gt;First I tried to get the index of the color property via GetPropIndex: &lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;var testProp = cell.CellOverrideShading.GetProps();&lt;/strong&gt;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;var testPropIndex = GetPropIndex(testProp, Constants.FP_Color);&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;But the result is "-4", so it seems that CellOverrideShading has no FP_Color property.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Second: I tried to change the color via the PropVal object:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; testProp[1].propVal.sval = 'Olive';&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;When I print the properties to the Console the color name seems to be updated to 'Olive'&lt;/p&gt;&lt;p&gt;&lt;strong&gt;for (var i=0; i &amp;lt;testProp.length; i++)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;{&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; propText = propText + ' \n' + i + ': ' + testProp[i].propIdent.name + ' - ' + testProp[i].propIdent.num + ' - ' + testProp[i].propVal.sval;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;1:&amp;nbsp; - 20 - Olive &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Then I assin the properties to the cell.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;cell.CellOverrideShading.SetProps(testProp);&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But the color in the Frame document remains unchanged. When I print the color name to the Console [&lt;strong&gt;Console('FARBE: ' + cell.CellOverrideShading.Name);&lt;/strong&gt;]&lt;/p&gt;&lt;p&gt;I still receive FARBE: K&amp;ouml;nigsblau&lt;/p&gt;&lt;p&gt;What's my mistake? Any ideas?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Yours Wolfgang&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f6b3f0f9-4a76-4fce-aa0f-ef770d5f592a] --&gt;</description>
      <pubDate>Wed, 27 Aug 2014 05:59:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1558691</guid>
      <dc:date>2014-08-27T05:59:43Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>I am seeing book.SetProps() and doc.SetProps() crash both FrameMaker 11 and 12.</title>
      <link>https://forums.adobe.com/thread/1558072</link>
      <description>&lt;!-- [DocumentBodyStart:d0714916-9109-4e2b-9892-1974f9c11f7a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am attempting to set the PDFDocInfo at the book and doc level.&lt;/p&gt;&lt;p&gt;I can get the active book, get its props, and read and write to the PDFDocInfo. When I add book.SetProps( props ); to the code it crashes FrameMaker 11 or 12.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried doing only:&lt;/p&gt;&lt;p&gt;var book = app.ActiveBook;&lt;/p&gt;&lt;p&gt;var props = book.GetProps ( );&lt;/p&gt;&lt;p&gt;book.SetProps ( props );&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Simplest possible case, and the same with doc, it still crashes.&lt;/p&gt;&lt;p&gt;Has anybody else seen this?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Stuart&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d0714916-9109-4e2b-9892-1974f9c11f7a] --&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:37:42 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1558072</guid>
      <dc:date>2014-08-26T15:37:42Z</dc:date>
      <clearspace:dateToText>2 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Where can I found a definitive list of JavaScript operators accepted by ExtendScript Editor</title>
      <link>https://forums.adobe.com/thread/1556774</link>
      <description>&lt;!-- [DocumentBodyStart:4075d44b-71d8-4962-9bf9-89fd429a7f8c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;As a JavaScript Newbie (but not a newbie programmer!) I am finding it difficult to find out which JavaScript operators are accepted by ther ExtendScript Editor. I have the latest copy of David Flanagan's JavaScript Pocket reference (I never look in the Browser part of the reference) but frequently I find a useful command that is not accepted by the Editor. The lack of an appropriate reference is considerably slowing me up. &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4075d44b-71d8-4962-9bf9-89fd429a7f8c] --&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:57:22 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1556774</guid>
      <dc:date>2014-08-25T12:57:22Z</dc:date>
      <clearspace:dateToText>2 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>InvalidObject understanding</title>
      <link>https://forums.adobe.com/thread/1557977</link>
      <description>&lt;!-- [DocumentBodyStart:37d51042-7e28-4c46-b84c-32d11fead005] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I encounter an issue with custom objects, I try to find Element with the function Find(). When I search Xref, row or known elements I get a valid Object. If a search for a custom element like here "RuleTemplate" I get an InvalidObject. Here is my code :&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:bec30d84-7dfe-432a-b986-aefe02f01fdd][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
var searchPropValRuleTemplate = AllocatePropVals(1) // allocate array of 1 PropVal
searchPropValRuleTemplate[0].propIdent.num = Constants.FS_FindElementTag // element search mode
searchPropValRuleTemplate[0].propVal.valType = Constants.FT_Strings; // property of type Strings (array of string)
searchPropValRuleTemplate[0].propVal.ssval.length = Constants.FV_NumFindElementItems; // required
searchPropValRuleTemplate[0].propVal.ssval[Constants.FV_FindElemTag] = "RuleTemplate"; // element to find
searchPropValRuleTemplate[0].propVal.ssval[Constants.FV_FindAttrName]= ""; // required even if empty
searchPropValRuleTemplate[0].propVal.ssval[Constants.FV_FindAttrValue] = ""; // required even if empty

var startLoc = new TextLoc(currentDoc.FirstPgfInDoc, 0);
var trFoundInDoc = currentDoc.Find(startLoc, searchPropValRuleTemplate);
var currentSGMLTag = currentDoc.ElementSelection.beg.child.Object;
var firstUidSGMLTag = currentSGMLTag.Unique;
&lt;/pre&gt;&lt;!--[CodeBlockEnd:bec30d84-7dfe-432a-b986-aefe02f01fdd]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In this sample currentSGMLTag is an InvalidObject, if I change the propval FindElemTag to "XRef" by example I get my XRef valid Object.&lt;/p&gt;&lt;p&gt;Can anyone help me please ? I'm missing something.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:37d51042-7e28-4c46-b84c-32d11fead005] --&gt;</description>
      <pubDate>Tue, 26 Aug 2014 15:31:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1557977</guid>
      <dc:date>2014-08-26T15:31:10Z</dc:date>
      <clearspace:dateToText>2 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>NewElementInHierarchy() - Adding New Elements, progressively takes longer when adding multiple siblings</title>
      <link>https://forums.adobe.com/thread/1553015</link>
      <description>&lt;!-- [DocumentBodyStart:10e345f6-a1ad-4996-a7cc-d841f57d8635] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;With my ESTK script, users select model numbers from a list and then the script inserts an element with a model number entered into an attribute, one element for each model selected.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When adding a large number of elements, each additional sibling element takes a little longer to add then the previous element. Adding 250 elements can take upwards of 3-1/2 minutes or more. While adding 20, 50, or 75 elements happens quickly, without any noticeable duration. It&amp;#8217;s somewhere above 110 is where it starts to be noticeable.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I even used $.hiresTimer and wrote the value to the console for each time a model was added. Since the timer is reset back to zero (0) each time it's called, it was easier to notice that the amount it incremented from one element to the next got progressively larger.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any thoughts as to why it&amp;#8217;s taking so long or thoughts on what I could do to speed it up?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The structure looks like this:&lt;/p&gt;&lt;p&gt;&lt;span style="color: #0000ff; font-family: courier new,courier;"&gt;&amp;lt;PartModels&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;NoteText&amp;gt;Text&amp;lt;/NoteText&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Model ModelNumber=&amp;rdquo;ABC01&amp;rdquo;/&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Model ModelNumber=&amp;rdquo;ABC02&amp;rdquo;/&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Model ModelNumber=&amp;rdquo;DEF03&amp;rdquo;/&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Model ModelNumber=&amp;rdquo;DEF04&amp;rdquo;/&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;hellip;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;hellip;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Model ModelNumber=&amp;rdquo;XYZ01-A&amp;rdquo;/&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Model ModelNumber=&amp;rdquo;XYZ*B&amp;rdquo;/&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="font-family: courier new,courier; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Model ModelNumber=&amp;rdquo;XYZ500&amp;rdquo;/&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: #0000ff; font-family: courier new,courier;"&gt; &amp;lt;/PartModels&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The script is somewhat straight forward: cycle through an array of the model numbers selected, add a new element for each model number and set it's attribute value to the model number. This is the short version:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;Function InsertModelElements (modelsToIns, insElemLoc, GVdoc) {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var newEleId;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var newElemLoc = insElemLoc;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var elemDef = GVdoc.GetNamedElementDef(&amp;#8220;Model&amp;rdquo;); &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(var i = 0; i &amp;lt; modelsToIns.length; i++){ &lt;span style="color: #339966;"&gt;// modelsToIns is the array of models selected&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newEleId = elemDef.NewElementInHierarchy(newElemLoc); &lt;span style="color: #339966;"&gt;//ElementLoc based on NoteText first, last, or not present&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetAttribute(newEleId, "ModelNumber", null, modelsToIns[i]); &lt;span style="color: #339966;"&gt;//more robust function to set attribute&lt;/span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #339966; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Which also works for setting attribute*/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //var vattributes = newEleId.GetAttributes();&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //vattributes[0].values[0] = modelsToIns[i];&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //newEleId.Attributes = vattributes;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; color: #339966;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*At one point I tried using a new element location from the last inserted element, no change*/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //var newElemRange = setElementSelection(GV_doc, EleId); //function that returns range&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #339966; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //newElemLoc = newNewElemRange.end;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sincerely,&lt;/p&gt;&lt;p&gt;Trent&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:10e345f6-a1ad-4996-a7cc-d841f57d8635] --&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:59:56 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1553015</guid>
      <dc:date>2014-08-20T19:59:56Z</dc:date>
      <clearspace:dateToText>2 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Changing the color of an object</title>
      <link>https://forums.adobe.com/thread/1554719</link>
      <description>&lt;!-- [DocumentBodyStart:6c95ad60-e85f-4158-beab-4f7eb20626c5] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have tried very unsuccessfully to change the color of an object:&lt;/p&gt;&lt;p&gt;My simplest approach has been:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;//&amp;nbsp; The current color of a pgf format is Black and I want to change it to Royal Blue&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; var myobject =&amp;nbsp; MyDoc.GetNamedObject(Constants.FO_PgfFmt,"Heading-3")&lt;/p&gt;&lt;p&gt; myobject.Color.Name = "Royal Blue";&lt;/p&gt;&lt;p&gt; alert(myobject.Color.Name)&amp;nbsp; // the colour is still Black&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have also tried:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;var mycolorprops = myobject.Color.GetProps()&lt;/p&gt;&lt;p&gt;var i&amp;nbsp; = GetPropIndex(myobject.Color,Constant.Name)&lt;/p&gt;&lt;p&gt;mycolorprops[i].propVal.ival =&amp;nbsp; Constants.FV_COLOR_ROYALBLUE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/p&gt;&lt;p&gt;mycolorprops[i].propVal.sval =&amp;nbsp; "Royal Blue"&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If I can solve for Color then I will be able to work with all other commands that involve Properties.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6c95ad60-e85f-4158-beab-4f7eb20626c5] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">color</category>
      <pubDate>Fri, 22 Aug 2014 10:08:04 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1554719</guid>
      <dc:date>2014-08-22T10:08:04Z</dc:date>
      <clearspace:dateToText>2 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How do I obtain a list of a document's "FontWeightNames"</title>
      <link>https://forums.adobe.com/thread/1550348</link>
      <description>&lt;!-- [DocumentBodyStart:f7b1b2ea-1472-4fe8-93e8-c59548465f95] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;FM 12 - Javascript&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I cannot find the correct way to obtain a list of a document's "FontWeightNames"&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is as I understand it (but it does not work):&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=";"&gt;var mydocweights = MyDoc.FontWeightNames &lt;/td&gt;&lt;td style=";"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/td&gt;&lt;td style=";"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;for (var i=0; i &amp;lt; mydocweights.length; i++) { &lt;/p&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=";"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/td&gt;&lt;td style=";"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&amp;nbsp; alert(mydocweights[i])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/td&gt;&lt;td style=";"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/td&gt;&lt;td style=";"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=";"&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/td&gt;&lt;td style=";"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f7b1b2ea-1472-4fe8-93e8-c59548465f95] --&gt;</description>
      <pubDate>Mon, 18 Aug 2014 10:42:53 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1550348</guid>
      <dc:date>2014-08-18T10:42:53Z</dc:date>
      <clearspace:dateToText>2 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>ChooseFile not working to open a directory ?</title>
      <link>https://forums.adobe.com/thread/1548335</link>
      <description>&lt;!-- [DocumentBodyStart:78f37758-f41f-4424-8c9c-98a9ae6a1699] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am creating an installer for my scripts and need to get an istall directory from the customer. It seems that ChooseFile ( ) with the ChooseOpenDir parameter is exactly what I need. But this does not work: there is no dialog and the return value is always null. Does anyone else experience this? Is this a bug in FM or just something wrong in my FM installation? I am running FM 12.0.0.308 on Windows 7.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ciao&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Jang&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:78f37758-f41f-4424-8c9c-98a9ae6a1699] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">extendscript</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">choosefile</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">open directory</category>
      <pubDate>Fri, 15 Aug 2014 11:44:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1548335</guid>
      <dc:date>2014-08-15T11:44:32Z</dc:date>
      <clearspace:dateToText>2 months 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Executing a program from a script</title>
      <link>https://forums.adobe.com/thread/1543437</link>
      <description>&lt;!-- [DocumentBodyStart:75875e42-0a28-418e-89fa-08a4654e5532] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a way to run a program (some exe, with optional commandline arguments) from within a script ?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Jang&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:75875e42-0a28-418e-89fa-08a4654e5532] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">windows</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">commandline</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">execute</category>
      <pubDate>Sun, 10 Aug 2014 11:54:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1543437</guid>
      <dc:date>2014-08-10T11:54:43Z</dc:date>
      <clearspace:dateToText>3 months 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Need help in content chunking..</title>
      <link>https://forums.adobe.com/thread/1539681</link>
      <description>&lt;!-- [DocumentBodyStart:35a0b264-62a5-45b1-a375-48edc5b30c83] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Is there a way to extract the XPath results as separate XML files? I am currently looking to chunk a large xml file based on certain tags. I tried using XSLT, but I understand that FM 12 supports only XML version 1.0 and doesnt help in splitting. I am not familiar with Javascripting too. Is there a script or any easy way that can do this job. Any help is appreciated. Thanks!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:35a0b264-62a5-45b1-a375-48edc5b30c83] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">extendscript</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">xslt</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">xpath</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">content chunking</category>
      <pubDate>Tue, 05 Aug 2014 09:09:13 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1539681</guid>
      <dc:date>2014-08-05T09:09:13Z</dc:date>
      <clearspace:dateToText>3 months 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How do I "Remove Structure from Flow" in a Script</title>
      <link>https://forums.adobe.com/thread/1541525</link>
      <description>&lt;!-- [DocumentBodyStart:6114d0dc-9d84-43fd-ad68-44fa119cae99] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I would like to emulate the "Remove Structure from Flow" in a Script - I have found "FCodes.KBD_REMOVE_STRUCT" but I think that is only used to examine a keystroke in a script.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6114d0dc-9d84-43fd-ad68-44fa119cae99] --&gt;</description>
      <pubDate>Thu, 07 Aug 2014 10:51:09 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1541525</guid>
      <dc:date>2014-08-07T10:51:09Z</dc:date>
      <clearspace:dateToText>3 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Save PDF with Bookmarks</title>
      <link>https://forums.adobe.com/thread/981085</link>
      <description>&lt;!-- [DocumentBodyStart:1dea80c2-ec2b-4d1c-a31a-9e9dc3036cdd] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;How to save a book as PDF &lt;strong&gt;with bookmarks&lt;/strong&gt;?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am exporting an open book as PDF using the following script:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;var params = GetSaveDefaultParams()&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;var returnParamsp =new PropVals()&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;var i = GetPropIndex(params, Constants.FS_FileType)&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;params[i].propVal.ival =Constants.FV_SaveFmtPdf&lt;/p&gt;&lt;p style="padding-left: 30px;"&gt;file.Save(pdfName, params, returnParamsp)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This works fine but the pdf document does not have bookmarks. I would like to get the same&lt;/p&gt;&lt;p&gt;result as if a selected "Generate PDF bookmarks" (translated from German) on the Bookmars&lt;/p&gt;&lt;p&gt;page of the PDF Settings dialog.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I guess I will have to set some property value, but which one? Is there a place where I can &lt;/p&gt;&lt;p&gt;look it up?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1dea80c2-ec2b-4d1c-a31a-9e9dc3036cdd] --&gt;</description>
      <pubDate>Tue, 27 Mar 2012 12:06:01 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/981085</guid>
      <dc:date>2012-03-27T12:06:01Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>10</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Undo support around extendscript command</title>
      <link>https://forums.adobe.com/thread/1534447</link>
      <description>&lt;!-- [DocumentBodyStart:c8dda0bc-570a-4805-a267-df2720f23b87] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;This probably should be obvious, but how can "undo" be supported for a custom command(in Framemaker 10?&amp;nbsp; I found app.beginUndoGroup() for another product but frame gives an unknown method call for this.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The following will delete with Ctrl-Q, but "undo" remains greyed out.&amp;nbsp; Thanks in advance.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;function demoDelete() {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var doc = app.ActiveDoc;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!doc) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("No active document");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var range = doc.TextSelection;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (range.beg.offset == range.end.offset) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("Need to select some text");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; doc.DeleteText(range);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;function Command(cmd) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.beginUndoGroup("demoCsr Command");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (cmd) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 1111: {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; demoDelete();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.endUndoGroup();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;var cmd = DefineCommand(1111, "demoCsrXrefInsert", "demoCsrXrefInsert", "^q");&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c8dda0bc-570a-4805-a267-df2720f23b87] --&gt;</description>
      <pubDate>Tue, 29 Jul 2014 13:19:28 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1534447</guid>
      <dc:date>2014-07-29T13:19:28Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>synchronized scrollbars of differents documents (using FM10)</title>
      <link>https://forums.adobe.com/thread/1523366</link>
      <description>&lt;!-- [DocumentBodyStart:70781fa1-d6c0-4a12-b637-d551b0b349ae] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Someone know how can I move two or more scrollbars of documents in the same FrameMaker process? I tried to search in the web but I found anything.. If someone know the code that I can use, please post it here.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Marco&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:70781fa1-d6c0-4a12-b637-d551b0b349ae] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">help</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">script</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">framemaker10</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">scrollbar</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">extendscript</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">js</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">scrollbars</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">fm</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">util</category>
      <pubDate>Wed, 16 Jul 2014 14:27:15 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1523366</guid>
      <dc:date>2014-07-16T14:27:15Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>11</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>.FirstXRefInDoc not working</title>
      <link>https://forums.adobe.com/thread/1525354</link>
      <description>&lt;!-- [DocumentBodyStart:5c663e81-9a3a-44a3-8add-6cc27a1c2dae] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I try to parse xrefs in a doc (and update them), but I have trouble getting the reference to fist xref. &lt;/p&gt;&lt;p&gt;var comp = doc.FirstXRefInDoc;&lt;/p&gt;&lt;p&gt;returns undefined, although there are xrefs in a file. I work in FM 10.&lt;/p&gt;&lt;p&gt;also global update doc.UpdateXRefs does not seem to have any effect. &lt;/p&gt;&lt;p&gt;When I do manualy Edit - Update references, xrefs in document get updated. Are these properties and methods tied to FM11, in that case, what options I have in FM10?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5c663e81-9a3a-44a3-8add-6cc27a1c2dae] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">xref</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">fm_script</category>
      <pubDate>Fri, 18 Jul 2014 21:49:26 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1525354</guid>
      <dc:date>2014-07-18T21:49:26Z</dc:date>
      <clearspace:dateToText>3 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Add elements to doc</title>
      <link>https://forums.adobe.com/thread/1506445</link>
      <description>&lt;!-- [DocumentBodyStart:41017dfc-155f-4de0-897a-fcebbbb546ad] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want to know if this is possible to manipulate fm objects to add existing elements (instanciated objects) to a document.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I saw multiple ways to create doc objects but I can't found any way to add it anything but text.&lt;/p&gt;&lt;p&gt;I saw in the api some functions to create new elements, F_ApiNewGraphicObject(), F_ApiNewAnchoredObject(), F_ApiNewElement()... but none to add an existing element...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a way to do that ? If not is it possible to clone an object ?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:41017dfc-155f-4de0-897a-fcebbbb546ad] --&gt;</description>
      <pubDate>Wed, 25 Jun 2014 08:35:14 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1506445</guid>
      <dc:date>2014-06-25T08:35:14Z</dc:date>
      <clearspace:dateToText>3 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Cross-Reference creation</title>
      <link>https://forums.adobe.com/thread/1517261</link>
      <description>&lt;!-- [DocumentBodyStart:9e3897f7-5614-4940-b783-609f4a45b0c5] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello to all!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am new to this amazing world of Extendscript but I have been using Framemaker since version 5.5.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am working on a kind of cross-reference manager and it works really nice. I can list all cross-references at book or document level, select the cross-reference to be shown in the current document and so on. I am using non-structured FM.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The problem I am facing is the creation of cross-reference itself.I know how to create a Cross-Ref Marker for the Xref, but I don&amp;acute;t know how to insert the Xref into the content. I tried with &lt;strong&gt;NewAnchoredFormattedObject&lt;/strong&gt; function with &lt;em&gt;objType&lt;/em&gt;, &lt;em&gt;format&lt;/em&gt; and &lt;em&gt;textLoc&lt;/em&gt; parameters. Also there&amp;acute;s the &lt;em&gt;XRefSrcText&lt;/em&gt; property (string containg &lt;em&gt;unique ID:pgf_tag:text&lt;/em&gt;). &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The question is: Should I use the same string (the content of &lt;em&gt;XRefSrcText&lt;/em&gt;) as text for the Cross-Ref type Marker? Or just the pgf text that contains the Cross-Ref?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have found several examples using Framescript but I am unable to replicate the code using ES.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for reading me. I will appreciate any help on this.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9e3897f7-5614-4940-b783-609f4a45b0c5] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">cross-reference;</category>
      <pubDate>Tue, 08 Jul 2014 15:44:31 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1517261</guid>
      <dc:date>2014-07-08T15:44:31Z</dc:date>
      <clearspace:dateToText>3 months 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Hiding XML elements in the structure view – scripting influence to the structure view?</title>
      <link>https://forums.adobe.com/thread/1522235</link>
      <description>&lt;!-- [DocumentBodyStart:341baf5d-e556-4789-aa34-d9a423b981a2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Hi&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Is there a way to hide specific XML elements (really the elements and not the attributes) in the structure view?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;I am asking this question to know if it is possible to influence the structure view by scripting.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Many elements are indeed used as a kind of help for constructions which have nothing to do with the actual contents especially in the case of tables.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;You inflate the the structure view unnecessarily and the author will lose track of the real contents. It would be nice if there was a possibility to hide those help construction elements.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you for any hints.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Apollo102&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:341baf5d-e556-4789-aa34-d9a423b981a2] --&gt;</description>
      <pubDate>Tue, 15 Jul 2014 08:58:44 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1522235</guid>
      <dc:date>2014-07-15T08:58:44Z</dc:date>
      <clearspace:dateToText>3 months 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>11</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How do you modify content of a table, but retain the table's UserString?</title>
      <link>https://forums.adobe.com/thread/1523255</link>
      <description>&lt;!-- [DocumentBodyStart:45cba225-8bd3-4ebe-9180-8e88208244e5] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have a document containing structured table elements.&amp;nbsp; The tables contain user string information [used by the FDK for tracking purposes], but when I apply a simple script to modify the table shading, I then find the UserString no longer exists on the table.&amp;nbsp; [I checked this by comparing the MIF statements]. &lt;/p&gt;&lt;p&gt;My outline script is: &lt;/p&gt;&lt;p&gt;&lt;span style="color: #0000ff; font-size: 8pt; font-family: courier new,courier;"&gt;doc = app.ActiveDoc&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; font-size: 8pt; color: #0000ff;"&gt;tbl = doc.FirstTblInDoc&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; font-size: 8pt; color: #0000ff;"&gt;tblfmt = doc.GetNamedTblFmt ("RouteTable")&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; font-size: 8pt; color: #0000ff;"&gt;prop = tblfmt.GetProps() &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier; font-size: 8pt; color: #0000ff;"&gt;tbl.FirstRowInTbl ; cell = row1.FirstCellInRow ; cell.CellUseOverrideShading = true ; cell.CellOverrideShading = null ; cell.CellUseOverrideFill = true ; cell.CellOverrideFill = 3 ; // change the table&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #0000ff; font-size: 8pt; font-family: courier new,courier;"&gt;tbl.SetProps (prop) // apply the changes&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;According to the FrameMaker scripting guide, only Element and CombinedFontDefn objects can hold user strings.&lt;/p&gt;&lt;p&gt;How can I modify the table [with table tag "RouteTable"] while retaining the Table's UserString?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:45cba225-8bd3-4ebe-9180-8e88208244e5] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">userstring</category>
      <pubDate>Wed, 16 Jul 2014 11:15:04 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1523255</guid>
      <dc:date>2014-07-16T11:15:04Z</dc:date>
      <clearspace:dateToText>3 months 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Why is there no simple way to delete unused reference pages from multiple FM files?</title>
      <link>https://forums.adobe.com/thread/1523008</link>
      <description>&lt;!-- [DocumentBodyStart:b067f3c0-04fe-42f8-9172-7aa8ef356c24] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have &lt;span style="text-decoration: underline;"&gt;hundreds&lt;/span&gt; of files in which some, but not all, of the reference pages are not being used. I don't want to open each file and manually click each page and then delete the pages one by one... what can I do to fix this? I think the files were all created with the same template but ironically the author imported graphics &lt;span style="text-decoration: underline;"&gt;(by reference)&lt;/span&gt; onto the&lt;span style="color: #575757; text-decoration: underline;"&gt; reference pages.&lt;/span&gt; The path to the referenced graphics (which are located on the reference pages) is invalid, and now all the FM files have errors. I am not a framemaker master, so this may be a simple fix, but I can't figure it out. I tried opening a file (file A) and deleting the unused reference pages. Then I saved it as a new file name (file B) and tried to import the reference pages of "file B" into "file A". This did not work. It just added additional reference pages to file A. I just want to be able to generate a list of reference pages for the files and then only delete the ones that I don't need. Please help. Any suggestions???&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b067f3c0-04fe-42f8-9172-7aa8ef356c24] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">deleting reference pages</category>
      <pubDate>Wed, 16 Jul 2014 02:40:22 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1523008</guid>
      <dc:date>2014-07-16T02:40:22Z</dc:date>
      <clearspace:dateToText>3 months 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Input suppression for specifc XML nodes (structured FM document)</title>
      <link>https://forums.adobe.com/thread/1521258</link>
      <description>&lt;!-- [DocumentBodyStart:2dc0cfcd-c2fa-4b59-9fac-6737811ab649] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;&lt;span style="font-family: arial, helvetica, sans-serif;"&gt;Is there a way to suppress input or changes in specifc nodes (&lt;/span&gt;&lt;span style="color: #323333; font-size: 13px; font-family: arial, helvetica, sans-serif;"&gt;structured FM document)&lt;/span&gt;? &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;Thank you for any pointer.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;Regards&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 12px; font-family: Helvetica;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 12px; font-family: Helvetica;"&gt;Apollo102&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2dc0cfcd-c2fa-4b59-9fac-6737811ab649] --&gt;</description>
      <pubDate>Mon, 14 Jul 2014 06:10:30 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1521258</guid>
      <dc:date>2014-07-14T06:10:30Z</dc:date>
      <clearspace:dateToText>4 months 19 hours ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>wrap toc book-component in toc via estk</title>
      <link>https://forums.adobe.com/thread/1519415</link>
      <description>&lt;!-- [DocumentBodyStart:61c209c4-3c35-41d7-936e-fe622b858dc0] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I am trying to wrap a new toc book-component in the toc element via extendscript code and finding that the WrapElement function fails, as do fcodes.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is this a bug or not implemented or am I missing something?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;
[Message moved to FM Scripting forum by moderator]&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:61c209c4-3c35-41d7-936e-fe622b858dc0] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">extendscript</category>
      <pubDate>Fri, 11 Jul 2014 01:52:05 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1519415</guid>
      <dc:date>2014-07-11T01:52:05Z</dc:date>
      <clearspace:dateToText>4 months 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Knowing result of XML export from ExtendScript</title>
      <link>https://forums.adobe.com/thread/1510368</link>
      <description>&lt;!-- [DocumentBodyStart:755af622-34a7-479f-907f-8d655ec1f6bc] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Does anyone have experience in tracking the status messages for an XML export from within ExtendScript ? One of my scripts publishes a book and all its chapters to XML and needs to report on possible errors that occurred. The export also includes running an XSLT for post processing. I can see the status messages in the console panel but I need to know the status from within the script, so that it can handle possible error situations elegantly.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ciao&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Jang&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:755af622-34a7-479f-907f-8d655ec1f6bc] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">export_to_xml</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">completion status</category>
      <pubDate>Mon, 30 Jun 2014 08:21:23 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1510368</guid>
      <dc:date>2014-06-30T08:21:23Z</dc:date>
      <clearspace:dateToText>4 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Call for more example scripts</title>
      <link>https://forums.adobe.com/thread/1513670</link>
      <description>&lt;!-- [DocumentBodyStart:1d0fcbe6-ddce-4fb5-a4c4-54f2aa00bffe] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Can someone post the following examples:&lt;/p&gt;&lt;p&gt;1. Loop through all paragraphs in a document and if the paragraph has a specific paragraph tag (e.g., Heading 1) change one aspect of the paragraph, for example, the text color. (This avoids the need to change the style and remove all the overrides.)&lt;/p&gt;&lt;p&gt;2. Loop through all the tables in a document and change one aspect of the table, for example the column width of the second column.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1d0fcbe6-ddce-4fb5-a4c4-54f2aa00bffe] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">sample</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">example</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">example scripts</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">sample scripts</category>
      <pubDate>Thu, 03 Jul 2014 16:41:49 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1513670</guid>
      <dc:date>2014-07-03T16:41:49Z</dc:date>
      <clearspace:dateToText>4 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Set the output format images generated from graphic elements</title>
      <link>https://forums.adobe.com/thread/1500242</link>
      <description>&lt;!-- [DocumentBodyStart:bc7fdf62-f0f3-403a-813c-11c43ef98e62] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span class="hps"&gt;Hello,&lt;/span&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class="hps"&gt;When&lt;/span&gt; &lt;span class="hps"&gt;I save&lt;/span&gt; as XML, &lt;span class="hps"&gt;my&lt;/span&gt; &lt;span class="hps"&gt;graphic&lt;/span&gt; &lt;span class="hps"&gt;elements generate&lt;/span&gt; image &lt;span class="hps"&gt;files with several extensions&lt;/span&gt; .m&lt;span class="hps"&gt;if, .j&lt;/span&gt;&lt;span class="hps"&gt;peg, &lt;/span&gt;.g&lt;span class="hps"&gt;if&lt;/span&gt; &lt;span class="hps"&gt;or others.&lt;/span&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class="hps"&gt;Is it&lt;/span&gt; &lt;span class="hps"&gt;possible to force&lt;/span&gt; &lt;span class="hps"&gt;an output format&lt;/span&gt;?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:bc7fdf62-f0f3-403a-813c-11c43ef98e62] --&gt;</description>
      <pubDate>Thu, 19 Jun 2014 07:33:10 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1500242</guid>
      <dc:date>2014-06-19T07:33:10Z</dc:date>
      <clearspace:dateToText>4 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Extract graphics in separated fm files</title>
      <link>https://forums.adobe.com/thread/1500240</link>
      <description>&lt;!-- [DocumentBodyStart:8fc75747-da66-4967-830f-42d38be5b74c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span class="hps"&gt;Hello,&lt;/span&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class="hps"&gt;I&lt;/span&gt; &lt;span class="hps"&gt;am a beginner&lt;/span&gt; &lt;span class="hps"&gt;in&lt;/span&gt; &lt;span class="hps"&gt;ExtendScript&lt;/span&gt; &lt;span class="hps"&gt;and I need&lt;/span&gt; &lt;span class="hps"&gt;to outsource&lt;/span&gt; &lt;span class="hps"&gt;the&lt;/span&gt; &lt;span class="hps"&gt;graphics&lt;/span&gt; &lt;span class="hps"&gt;of my&lt;/span&gt; &lt;span class="hps"&gt;docs&lt;/span&gt;. &lt;span class="hps"&gt;I wish to&lt;/span&gt; &lt;span class="hps"&gt;create a file&lt;/span&gt; .f&lt;span class="hps"&gt;m&lt;/span&gt; &lt;span class="hps"&gt;for each graph&lt;/span&gt; &lt;span class="hps"&gt;found in the&lt;/span&gt; &lt;span class="hps"&gt;doc&lt;/span&gt; &lt;span class="hps"&gt;to be able to&lt;/span&gt; &lt;span class="hps"&gt;generate the images&lt;/span&gt; &lt;span class="hps"&gt;apart&lt;/span&gt; &lt;span class="hps"&gt;and not have&lt;/span&gt; &lt;span class="hps"&gt;to&lt;/span&gt; &lt;span class="hps"&gt;rebuild&lt;/span&gt; &lt;span class="hps"&gt;for each change of&lt;/span&gt; &lt;span class="hps"&gt;doc&lt;/span&gt;. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class="hps"&gt;I advance&lt;/span&gt; &lt;span class="hps"&gt;slowly&lt;/span&gt; &lt;span class="hps"&gt;with the&lt;/span&gt; &lt;span class="hps"&gt;docs&lt;/span&gt; &lt;span class="hps"&gt;and examples&lt;/span&gt; &lt;span class="hps"&gt;that&lt;/span&gt; &lt;span class="hps"&gt;I found&lt;/span&gt; &lt;span class="hps"&gt;but I&lt;/span&gt; &lt;span class="hps"&gt;still can not&lt;/span&gt; &lt;span class="hps"&gt;do what&lt;/span&gt; &lt;span class="hps"&gt;I want.&lt;/span&gt; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span class="hps"&gt;For now I&lt;/span&gt; &lt;span class="hps"&gt;wanted to do this&lt;/span&gt; &lt;span class="hps"&gt;as follows&lt;/span&gt;:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:75c8be09-c3af-47f4-848b-6e0166a717f6][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
var doc = app.ActiveDoc;
if(doc.ObjectValid()) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var inset = doc.FirstGraphicInDoc;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(inset) {

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create empty doc from a template
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var newDoc = SimpleNewDoc(File($.fileName).parent.fsName+ "\\" + "DocGraphicTemplate", 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Insert graphic in created doc.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // I still don't know how to do this...
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newDoc.addGraphic(inset);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Save doc with graphic in .fm file
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newDoc.Save(docPath, newDoc, params);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Replace graphic element in doc by the image generated from the newDoc .fm file
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // I still don't know how to do this too

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inset=inset.NextGraphicInDoc

&amp;nbsp;&amp;nbsp;&amp;nbsp; }
} else {
&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("No active document could be found!");
}
&lt;/pre&gt;&lt;!--[CodeBlockEnd:75c8be09-c3af-47f4-848b-6e0166a717f6]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &lt;span class="hps"&gt;Is this&lt;/span&gt; &lt;span class="hps"&gt;the right way&lt;/span&gt; &lt;span class="hps"&gt;to do?&lt;/span&gt; &lt;span class="hps"&gt;If so&lt;/span&gt; &lt;span class="hps"&gt;can someone&lt;/span&gt; &lt;span class="hps"&gt;help me on&lt;/span&gt; &lt;span class="hps"&gt;the&lt;/span&gt; &lt;span class="hps"&gt;sticking points&lt;/span&gt;?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8fc75747-da66-4967-830f-42d38be5b74c] --&gt;</description>
      <pubDate>Thu, 19 Jun 2014 07:21:51 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1500240</guid>
      <dc:date>2014-06-19T07:21:51Z</dc:date>
      <clearspace:dateToText>4 months 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Applying Conditional Text with SetProps()</title>
      <link>https://forums.adobe.com/thread/1491378</link>
      <description>&lt;!-- [DocumentBodyStart:1ae5be85-f74a-4bed-ba74-b46be44b705d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm using FM 11 on Windows 7.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm having trouble deciphering the scripting guide (&lt;a class="jive-link-external-small" href="http://help.adobe.com/en_US/framemaker/scripting/framemaker_10_scripting.pdf" rel="nofollow"&gt;http://help.adobe.com/en_US/framemaker/scripting/framemaker_10_scripting.pdf&lt;/a&gt;) in relation to the SetProps() function. Specifically, I haven't been able to find a good description of the TypedVal properties (p. 400). Does anyone know of a document that describes these properties and how to use them?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My current task is to apply a conditional format to a row, but I would also like to apply a condfmt to an entire table. Here is my most recent (unsuccessful) attempt:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:58d8051a-50cf-4623-952c-f359138a7395][excluded]--&gt;&lt;pre class="javascript" name="code"&gt;
function setRowConditional(row, condFmt)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; var props = row.GetProps();
&amp;nbsp;&amp;nbsp;&amp;nbsp; var prop = new PropVal();
&amp;nbsp;&amp;nbsp;&amp;nbsp; prop.propIdent.num = Constants.FP_InCond;
&amp;nbsp;&amp;nbsp;&amp;nbsp; prop.propVal.ival = condFmt.id;
&amp;nbsp;&amp;nbsp;&amp;nbsp; prop.propVal.obj = condFmt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; props.push(prop);
&amp;nbsp;&amp;nbsp;&amp;nbsp; row.SetProps(props);
}
&lt;/pre&gt;&lt;!--[CodeBlockEnd:58d8051a-50cf-4623-952c-f359138a7395]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Trevor&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1ae5be85-f74a-4bed-ba74-b46be44b705d] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">row</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">conditional text</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">setprops</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">typedval</category>
      <pubDate>Fri, 06 Jun 2014 20:01:01 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1491378</guid>
      <dc:date>2014-06-06T20:01:01Z</dc:date>
      <clearspace:dateToText>5 months 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Getting data from Excel</title>
      <link>https://forums.adobe.com/thread/1492677</link>
      <description>&lt;!-- [DocumentBodyStart:9c7026f2-8d73-45db-a83e-19c2eb400573] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;With FrameScript, I am able to use its EActiveXObject object to read and write to Excel spreadsheets. I need to read some data from Excel with ExtendScript. Has anyone figured out a way to do this with ExtendScript. My client wants to avoid intermediate formats like csv or xml, if possible. Any pointers and advice would be appreciated. Thanks. -Rick&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9c7026f2-8d73-45db-a83e-19c2eb400573] --&gt;</description>
      <pubDate>Mon, 09 Jun 2014 13:45:50 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1492677</guid>
      <dc:date>2014-06-09T13:45:50Z</dc:date>
      <clearspace:dateToText>5 months 5 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Double click event on a specific element in a FrameMaker document</title>
      <link>https://forums.adobe.com/thread/1490543</link>
      <description>&lt;!-- [DocumentBodyStart:b2d00004-cef3-435a-b99b-c9c6d867bef6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Using the Notification/Notify (FA_Note_PostMouseCommand/FA_Note_PostMouseCommand), I can check where in the structure or which element was clicked and if a specific element was clicked, a dialog window opens to perform certain actions. But I would like to have that action occur only on a double click.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any suggestions?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Trent Schwartz&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b2d00004-cef3-435a-b99b-c9c6d867bef6] --&gt;</description>
      <pubDate>Thu, 05 Jun 2014 17:54:40 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1490543</guid>
      <dc:date>2014-06-05T17:54:40Z</dc:date>
      <clearspace:dateToText>5 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Command object Delete() and CommandNum property issues</title>
      <link>https://forums.adobe.com/thread/1293352</link>
      <description>&lt;!-- [DocumentBodyStart:1c4aa3e8-9e01-4385-8d17-c3f3c34e2184] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;FM11. I can't seem to get the Delete() method to work on commands, nor can I retreive the proper CommandNum property. For example:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;cmd = DefineCommand(1111, "TestScriptCommand", "TestScriptCommand", "^q");&lt;/p&gt;&lt;p&gt;alert(cmd.CommandNum);&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;...the message box displays some other number, like 48 or something. Then, cmd.Delete() seems to have to effect, because the command stays active and remains on any menus where I placed it.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the Command() callback works OK. It properly executes on 1111 for the command.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1c4aa3e8-9e01-4385-8d17-c3f3c34e2184] --&gt;</description>
      <pubDate>Tue, 10 Sep 2013 19:15:25 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1293352</guid>
      <dc:date>2013-09-10T19:15:25Z</dc:date>
      <clearspace:dateToText>5 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Calling one script from another</title>
      <link>https://forums.adobe.com/thread/1178152</link>
      <description>&lt;!-- [DocumentBodyStart:91286c9b-1f4a-447d-8e47-cd4593b77349] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;InDesign has a nice mechanism for calling one script from another, so code can be made modular. What about FrameMaker ExtendScript? What methods are people using to call one script from another? Thanks for any suggestions.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Rick Quatro&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:91286c9b-1f4a-447d-8e47-cd4593b77349] --&gt;</description>
      <pubDate>Tue, 26 Mar 2013 18:48:14 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1178152</guid>
      <dc:date>2013-03-26T18:48:14Z</dc:date>
      <clearspace:dateToText>5 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>"Favourite" scripts disappear on restarting FrameMaker 11</title>
      <link>https://forums.adobe.com/thread/1480629</link>
      <description>&lt;!-- [DocumentBodyStart:c69431ef-0632-4003-913b-6658b689fdad] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using FrameMaker 11 on a Windows 7 laptop.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The script catalog is a very handy way to easily access common scripts. However, the "favourites" section does not retain newly added scripts once the program is restarted.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is my workflow:&lt;/p&gt;&lt;p&gt;Open FM, open script catalog, add multiple scripts to "favourites," run any script, close FM, reopen FM, none of the scripts remain&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If I do not run any of the scripts, they remain there the next time I open FM. However, running any script will remove all of them from the favourites section.&lt;/p&gt;&lt;p&gt;I've noticed that the scripts do remain in File -&amp;gt; Script -&amp;gt; History.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there any way to avoid this? It is very inconvenient to manually add the scripts back into the favourites section every time.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Trevor&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c69431ef-0632-4003-913b-6658b689fdad] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">favourite</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">favorite scripts</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">script catalog</category>
      <pubDate>Thu, 22 May 2014 19:15:04 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1480629</guid>
      <dc:date>2014-05-22T19:15:04Z</dc:date>
      <clearspace:dateToText>5 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Scripting tips</title>
      <link>https://forums.adobe.com/thread/1468769</link>
      <description>&lt;!-- [DocumentBodyStart:12fd2e66-7bc9-48cc-a044-1328e2dd4888] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Scripters, I want to offer some advice to those seeking scripting help. First of all, this forum isn't too busy, but there are some extremely helpful people on here. If you follow this advice, it will make it easier for willing people to help you.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One of the most important things you can do when solving a scripting problem is to isolate the problem to the smallest possible unit. For example, if you are solving a problem with tables, don't post code that processes all of the tables in the document. Isolate the code so it just works on the selected table. Or, if you are trying to apply a condition format to paragraphs, don't post all of the code for processing all of the components in a book. Instead, isolate your code to work on a single, selected paragraph. When code is isolated to small units like this, it makes it easier to test and troubleshoot. And when it doesn't work, it makes it easier for other people to stage things on their computers so they can see what is wrong.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In general, this is the best way to develop scripting solutions anyway. When your individual "units" are tested and debugged, you can expand the code out to process an entire document or book. As an added benefit, your code becomes more modular and easier to reuse in other scripts. I will try to follow up with some specific code examples so you can see how it works. Please let me know if you have any questions or comments. -Rick Quatro&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:12fd2e66-7bc9-48cc-a044-1328e2dd4888] --&gt;</description>
      <pubDate>Wed, 07 May 2014 17:55:32 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1468769</guid>
      <dc:date>2014-05-07T17:55:32Z</dc:date>
      <clearspace:dateToText>6 months 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Is there support for the GraphicsFmt object in FrameMaker 11 ExtendScript?</title>
      <link>https://forums.adobe.com/thread/1350779</link>
      <description>&lt;!-- [DocumentBodyStart:475747f9-573a-4382-addc-b85927581b0e] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I was reading the FDK documentation for FrameMaker 11 and I see that support has been added for Object formats using FO_GraphicsFmt.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there support for the GraphicsFmt object in FrameMaker 11 ExtendScript? &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If not, when will it be added? &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Another question: Will the ExtendScript documentation ever be improved?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:475747f9-573a-4382-addc-b85927581b0e] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">extendscript_toolkit</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">framemaker11</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">graphicsfmt_object</category>
      <pubDate>Wed, 04 Dec 2013 19:42:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1350779</guid>
      <dc:date>2013-12-04T19:42:43Z</dc:date>
      <clearspace:dateToText>6 months 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Screen locking stops production in Framemaker Framescript application</title>
      <link>https://forums.adobe.com/thread/1469597</link>
      <description>&lt;!-- [DocumentBodyStart:ff93182b-18fb-4d62-b6ec-b73effa90aa8] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt; We have hundreds of XML files. Those files are handled by Framescripts in Framemaker to generate a Framemaker book with more than 1000 pages. As soon as the screen is locked by user or automatically Framescript stops immediately. Has anyone a solution? Any suggestions?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Windows 7, Framemaker 10.0.2.419, Framescript 5.2R1p251&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ff93182b-18fb-4d62-b6ec-b73effa90aa8] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">screensaver</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">framemaker 10</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">framescript</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">screenlock</category>
      <pubDate>Thu, 08 May 2014 15:30:06 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1469597</guid>
      <dc:date>2014-05-08T15:30:06Z</dc:date>
      <clearspace:dateToText>6 months 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How do I change the table's first row to a Heading row if it contains pgfs with tblHead tags</title>
      <link>https://forums.adobe.com/thread/1467990</link>
      <description>&lt;!-- [DocumentBodyStart:3e30a2eb-389f-48b7-974d-2049d26a1a78] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;So far, I have the following in a JavaScript:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;if (tbl.FirstRowInTbl.FirstCellInRow.FirstPgf.PgfFmt.Name === "tblHead")&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (tbl.FirstRowInTbl.RowType === 1) &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //1 is Constants.FV_ROW_BODY&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tbl.FirstRowInTbl.RowType = 0; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 0 is Constants.FV_ROW_HEADING&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue; &lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This does not work. I'm not comfortable with &lt;strong&gt;tbl.FirstRowInTbl.FirstCellInRow.FirstPgf.PgfFmt.Name.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;It is clearly wrong. How would I indicate I want to determine the tag of the first paragraph in the first row?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help is very much appreciated!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Ruth&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3e30a2eb-389f-48b7-974d-2049d26a1a78] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">javascript</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">framemaker</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">extendscript</category>
      <pubDate>Tue, 06 May 2014 21:14:09 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1467990</guid>
      <dc:date>2014-05-06T21:14:09Z</dc:date>
      <clearspace:dateToText>6 months 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>19</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How can I find out if a structured doc is valid?</title>
      <link>https://forums.adobe.com/thread/1451673</link>
      <description>&lt;!-- [DocumentBodyStart:9e5a4a18-9092-4d8c-9b16-f18655a7865f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need to establish the validity of a Doc before my script transforms it to XML and applies an XSLT in the process. I have searched the FM12 scripting guide but cannot find any Doc property or method to figure out whether or not the Doc is valid. Am I looking in the wrong place?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kind regards&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Jang&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:9e5a4a18-9092-4d8c-9b16-f18655a7865f] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">document</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">scripting</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">structure</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=4555">validation</category>
      <pubDate>Wed, 16 Apr 2014 09:23:40 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1451673</guid>
      <dc:date>2014-04-16T09:23:40Z</dc:date>
      <clearspace:dateToText>6 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

