<?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: Message List - Execute plugin menu option from script</title>
    <link>https://forums.adobe.com/community/indesign/indesign_scripting?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 31 Oct 2013 18:51:13 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-10-31T18:51:13Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Execute plugin menu option from script</title>
      <link>https://forums.adobe.com/message/5804414?tstart=0#5804414</link>
      <description>&lt;!-- [DocumentBodyStart:7dce2986-0d03-4070-9773-af6908d2b084] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;@Laubender:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your response! I've written to Amazon to see if this plugin is scriptable.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dan&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7dce2986-0d03-4070-9773-af6908d2b084] --&gt;&lt;img src='/beacon?t=1415905867276' /&gt;</description>
      <pubDate>Thu, 31 Oct 2013 18:51:13 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5804414?tstart=0#5804414</guid>
      <dc:date>2013-10-31T18:51:13Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Execute plugin menu option from script</title>
      <link>https://forums.adobe.com/message/5804129?tstart=0#5804129</link>
      <description>&lt;!-- [DocumentBodyStart:bcf425c0-ddc4-47a6-88f5-90bf157c4158] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;@Dan &amp;#8211; Only, if the plug-in is designed to do so.&lt;/p&gt;&lt;p&gt;That means, if it is deliberately scriptable&amp;hellip;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'd ask the developers.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Btw.: The ID for invoking the menu action will vary from installation to installation&amp;hellip;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Uwe&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:bcf425c0-ddc4-47a6-88f5-90bf157c4158] --&gt;</description>
      <pubDate>Thu, 31 Oct 2013 17:23:59 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5804129?tstart=0#5804129</guid>
      <dc:date>2013-10-31T17:23:59Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Execute plugin menu option from script</title>
      <link>https://forums.adobe.com/message/5803454?tstart=0#5803454</link>
      <description>&lt;!-- [DocumentBodyStart:805fb334-82d9-436d-ba1e-59185d16d1c4] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thank you! That was helpful. I had to use an ID of -16769023, but it worked.&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 interact with the subsequent dialog boxes automatically from a script? The first dialog box defines the MOBI file path, and the second one has a few fields that I need to fill in (such as title and author).&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:805fb334-82d9-436d-ba1e-59185d16d1c4] --&gt;</description>
      <pubDate>Thu, 31 Oct 2013 14:05:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5803454?tstart=0#5803454</guid>
      <dc:date>2013-10-31T14:05:35Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Execute plugin menu option from script</title>
      <link>https://forums.adobe.com/message/5802671?tstart=0#5802671</link>
      <description>&lt;!-- [DocumentBodyStart:0f014f7a-e0d3-4b40-b446-925fdfff76c1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Dan-BTP,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Try the below js code is execute the Export Kindle option using menu id.&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;!--[CodeBlockStart:75cfbd71-a01e-46a9-9751-f75010140ad2][excluded]--&gt;&lt;pre class="java" name="code"&gt;var myExportKindle = app.menuActions.itemByID(-16769022);
try{
&amp;nbsp;&amp;nbsp;&amp;nbsp; myExportKindle.invoke();
&amp;nbsp;&amp;nbsp;&amp;nbsp; }catch(e){alert(e)};
&lt;/pre&gt;&lt;!--[CodeBlockEnd:75cfbd71-a01e-46a9-9751-f75010140ad2]--&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;thx,&lt;/p&gt;&lt;p&gt;csm_phil&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0f014f7a-e0d3-4b40-b446-925fdfff76c1] --&gt;</description>
      <pubDate>Thu, 31 Oct 2013 05:31:38 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5802671?tstart=0#5802671</guid>
      <dc:date>2013-10-31T05:31:38Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Execute plugin menu option from script</title>
      <link>https://forums.adobe.com/message/5801753?tstart=0#5801753</link>
      <description>&lt;!-- [DocumentBodyStart:03565e67-c481-4772-b3ff-6da283fcd81c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I just installed the Kindle plugin for InDesign to export documents to the MOBI format. Is it possible to execute the plugin (File &amp;gt; Export for Kindle) in a script (JavaScript)? I would need to enter data in the plugin's dialogs too.&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:03565e67-c481-4772-b3ff-6da283fcd81c] --&gt;</description>
      <pubDate>Wed, 30 Oct 2013 21:18:00 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5801753?tstart=0#5801753</guid>
      <dc:date>2013-10-30T21:18:00Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

