<?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 - Detect selected font (Illustrator/InDesign)</title>
    <link>https://forums.adobe.com/community/creativesuites/extensionbuilder?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Tue, 12 Aug 2014 10:12:30 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-08-12T10:12:30Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Detect selected font (Illustrator/InDesign)</title>
      <link>https://forums.adobe.com/message/6632520?tstart=0#6632520</link>
      <description>&lt;!-- [DocumentBodyStart:5c43c112-7bce-4009-b82f-6b7e2e6e8520] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm writing an ActionScript / JavaSctipt extension for Illustrator and InDesign.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I created a text frame with some standard text written in it. BUT I need the font of the text to match the font that is currently selected in Illustrator/InDesign. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To my knowledge whenever you launch Illustrator or InDesign, they always select 'Myriad Pro' to begin with. Furthermore, CSHostAdapter has CURRENT_FONT_CHANGED event, however, I cannot find out which font (and font size for that matter) it was actually changed to. Is there any way to find out which font is currently selected in Illustrator or InDesign?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas and suggestions are welcome. &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5c43c112-7bce-4009-b82f-6b7e2e6e8520] --&gt;&lt;img src='/beacon?t=1415938988592' /&gt;</description>
      <pubDate>Tue, 12 Aug 2014 10:12:30 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6632520?tstart=0#6632520</guid>
      <dc:date>2014-08-12T10:12:30Z</dc:date>
      <clearspace:dateToText>3 months 2 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

