<?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 - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Thu, 31 Oct 2013 10:28:19 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-10-31T10:28:19Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Native Drag and Drop not working in CC</title>
      <link>https://forums.adobe.com/thread/1325558</link>
      <description>&lt;!-- [DocumentBodyStart:136e7dc5-8566-4517-b8b3-ff21ae0c5dd3] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I've been having trouble with migrating extensions from CS5.5 to CC (in flex for now). Especially with Native Drag events.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For example NativeDragEnter event is not triggering when dragging something from swatch list to extension. When I drag something from the document itself, event gets triggered (but not every time, which is strange).&lt;/p&gt;&lt;p&gt;Other elements of the extension are working.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Everything is working fine in CS 5.5.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using Extension Builder 2.1, building with flex sdk 3.4. Max target version of Creative Suite has been set to CS 7, so the extension should work in CC.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is anyone having similar problems? Some feedback would be appreciated.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:136e7dc5-8566-4517-b8b3-ff21ae0c5dd3] --&gt;&lt;img src='/beacon?t=1415938862776' /&gt;</description>
      <pubDate>Thu, 31 Oct 2013 10:28:19 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1325558</guid>
      <dc:date>2013-10-31T10:28:19Z</dc:date>
      <clearspace:dateToText>2 months 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Saving document with extended option kSaveMultiArtboards problem</title>
      <link>https://forums.adobe.com/thread/1534574</link>
      <description>&lt;!-- [DocumentBodyStart:cedfe0a2-6313-4438-afc8-c6b2595aadda] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm trying to save a document using AIDocumentSuite function WriteDocument or WriteDocumentWithOptions and passing an extended option kSaveMultiArtboards (saving document in .ai format and saving each artboard into a separate file - there is an option in illustrator when you save file to do this), but I am unable to do so. I know I should be passing "Adobe Illustrator Any Format Writer" as a file format name when calling those functions.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is the simple code which I am using currently:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;ai&lt;/span&gt;&lt;span class="s2"&gt;::&lt;/span&gt;&lt;span class="s1"&gt;FilePath filePath&lt;/span&gt;&lt;span class="s2"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;ai&lt;/span&gt;&lt;span class="s2"&gt;::&lt;/span&gt;&lt;span class="s1"&gt;UnicodeString&lt;/span&gt;&lt;span class="s2"&gt;(&lt;/span&gt;"/path/to/save/file/test.ai"&lt;span class="s2"&gt;));&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;ai&lt;/span&gt;::&lt;span class="s2"&gt;int32&lt;/span&gt; fileFormatCount;&lt;/p&gt;&lt;p class="p2"&gt;sAIFileFormat&lt;span class="s3"&gt;-&amp;gt;&lt;/span&gt;CountFileFormats&lt;span class="s3"&gt;(&amp;amp;fileFormatCount);&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s1"&gt;for&lt;/span&gt; (&lt;span class="s1"&gt;int&lt;/span&gt; i = &lt;span class="s2"&gt;0&lt;/span&gt;; i &amp;lt; fileFormatCount; i++)&lt;/p&gt;&lt;p class="p1"&gt;{&lt;/p&gt;&lt;p class="p1"&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AIFileFormatHandle&lt;/span&gt;&lt;span class="s3" style="font-size: 10pt; line-height: 1.5em;"&gt; fileFormat = NULL;&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;sAIFileFormat&lt;span class="s3"&gt;-&amp;gt;&lt;/span&gt;GetNthFileFormat&lt;span class="s3"&gt;(i, &amp;amp;fileFormat);&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="s1"&gt;char&lt;/span&gt; *fileFormatName;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;sAIFileFormat&lt;span class="s3"&gt;-&amp;gt;&lt;/span&gt;GetFileFormatName&lt;span class="s3"&gt;(fileFormat, &amp;amp;fileFormatName);&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s3"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s3"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if&lt;/span&gt; ( &lt;span class="s6"&gt;strncmp&lt;/span&gt;(fileFormatName, &lt;span class="s7"&gt;"Adobe Illustrator Any Format Writer"&lt;/span&gt;, &lt;span class="s6"&gt;strlen&lt;/span&gt;(fileFormatName)) == &lt;span class="s2"&gt;0&lt;/span&gt; )&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // here we set kSaveMultiArtboards as extended option for "Adobe Illustrator Any Format Writer"&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="p2"&gt;&lt;span class="s3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;sAIFileFormat&lt;span class="s3"&gt;-&amp;gt;&lt;/span&gt;SetFileFormatExtendedOptions&lt;span class="s3"&gt;(fileFormat, &lt;/span&gt;&lt;span class="s8"&gt;kSaveMultiArtboards&lt;/span&gt;&lt;span class="s3"&gt;);&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // I can use either WriteDocument or WriteDocumentWithOptions, it makes no difference&lt;/p&gt;&lt;p class="p1"&gt;&lt;span class="s5"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sAIDocument&lt;/span&gt;-&amp;gt;&lt;span class="s4"&gt;WriteDocument&lt;/span&gt;(filePath, fileFormatName, &lt;span class="s1"&gt;false&lt;/span&gt;);&lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sAIDocument-&amp;gt;WriteDocumentWithOptions(filePath, fileFormatName, kFileFormatWriteAs, false);&lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p class="p1"&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p class="p2" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p2"&gt;Am I doing something wrong here? Code passes without errors. After setting extended option to fileFormat with GetFileFormatExtendedOptions I can clearly see that the option has been set.&lt;/p&gt;&lt;p class="p2"&gt;Am I passing the wrong argument as file format name for WriteDocument function. Or should I create custom file format with options and extended options already in it, so I don't have to set them for file format that already exists?&lt;/p&gt;&lt;p class="p2" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p2"&gt;Any help would be appreciated. Thanks in advance.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:cedfe0a2-6313-4438-afc8-c6b2595aadda] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">fileformat</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">document_save</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">multiple artboards</category>
      <pubDate>Tue, 29 Jul 2014 15:32:21 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1534574</guid>
      <dc:date>2014-07-29T15:32:21Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Auto load plugin on event</title>
      <link>https://forums.adobe.com/thread/1469467</link>
      <description>&lt;!-- [DocumentBodyStart:9b14a8bc-9cd1-4fb2-9589-1005893830a7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a way for a plugin to check if it is visible (active?), on an event like kAILayerOptionsNotifier, if the user changes the layer options, the plugin appears automatically so the user don't have to go to Window-&amp;gt;PluginName and start it.&lt;/p&gt;&lt;p&gt;The problem is not in registering the event, but showing the plugin UI.&lt;/p&gt;&lt;p&gt;The UI is written in Objective-C, if that info helps.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There is an option i used when the UI was written in Flex &lt;span class="s1" style="font-size: 10pt; line-height: 1.5em;"&gt;fPPLib&lt;/span&gt;&lt;span class="s2" style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;LoadExtension&lt;/span&gt;&lt;span class="s2" style="font-size: 10pt; line-height: 1.5em;"&gt;() to do the same.&lt;/span&gt;&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:9b14a8bc-9cd1-4fb2-9589-1005893830a7] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">load</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">auto-load</category>
      <pubDate>Thu, 08 May 2014 13:10:30 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1469467</guid>
      <dc:date>2014-05-08T13:10:30Z</dc:date>
      <clearspace:dateToText>6 months 6 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Count Sublayers in a layer</title>
      <link>https://forums.adobe.com/thread/1273890</link>
      <description>&lt;!-- [DocumentBodyStart:176b75d6-1ab1-493d-b65e-cc9f92d66267] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a possibility to count (only) all sublayers in a given layer?&lt;/p&gt;&lt;p&gt;CountLayers from LayerSuite is only counting top-level layers and that isn't good enough.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Edit: I am using CS SDK 5.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:176b75d6-1ab1-493d-b65e-cc9f92d66267] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">sublayers</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">sublayer</category>
      <pubDate>Mon, 12 Aug 2013 11:59:21 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1273890</guid>
      <dc:date>2013-08-12T11:59:21Z</dc:date>
      <clearspace:dateToText>1 year 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

