<?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 - Query on app.activeDocument.exportFile</title>
    <link>https://forums.adobe.com/community/creativesuites/extensionbuilder?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 20 Oct 2014 11:15:50 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-10-20T11:15:50Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Query on app.activeDocument.exportFile</title>
      <link>https://forums.adobe.com/message/6847213?tstart=0#6847213</link>
      <description>&lt;!-- [DocumentBodyStart:111798fc-9dfa-4e01-ac3c-51433bf487ef] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I got around it by closing new doc and reopening&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.activeDocument.save();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var srcFile = app.activeDocument.fullName;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.activeDocument.exportFile( fileSpec, type, exportOptions );&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.activeDocument.close(SaveOptions.SAVECHANGES);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.open(srcFile);&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:111798fc-9dfa-4e01-ac3c-51433bf487ef] --&gt;&lt;img src='/beacon?t=1415938911924' /&gt;</description>
      <pubDate>Mon, 20 Oct 2014 11:15:50 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6847213?tstart=0#6847213</guid>
      <dc:date>2014-10-20T11:15:50Z</dc:date>
      <clearspace:dateToText>3 weeks 4 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Query on app.activeDocument.exportFile</title>
      <link>https://forums.adobe.com/message/6847209?tstart=0#6847209</link>
      <description>&lt;!-- [DocumentBodyStart:b9db919b-fc0f-48ea-ad68-8aaab28bb392] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;(Apologies if this is an Illustrator scripting question rather than a CEP specific extension one)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;From Adobe Illustrator CC2014 HTML5 extension I am using &lt;span style="font-family: 'courier new', courier;"&gt;app.activeDocument.exportFile&lt;/span&gt; to export the activeDocument to SVG.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have that working great but what happens is that the exported file becomes the active document (replacing the .AI document that was open) and I do not want this to happen?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can anyone explain this behavior and how I could change it.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b9db919b-fc0f-48ea-ad68-8aaab28bb392] --&gt;</description>
      <pubDate>Mon, 20 Oct 2014 10:50:23 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6847209?tstart=0#6847209</guid>
      <dc:date>2014-10-20T10:50:23Z</dc:date>
      <clearspace:dateToText>3 weeks 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

