<?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 - Pasting text into a text layer in Photoshop CC 2014</title>
    <link>https://forums.adobe.com/community/creativesuites/extensionbuilder?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 14 Aug 2014 06:19:37 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-08-14T06:19:37Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Pasting text into a text layer in Photoshop CC 2014</title>
      <link>https://forums.adobe.com/message/6639158?tstart=0#6639158</link>
      <description>&lt;!-- [DocumentBodyStart:14a6c90a-bd2f-4943-bc73-f8c0c013b6f9] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I've been playing around around with Photoshop CC 2014 HTML5/Javascript extensions (CEP5) for a while now and I came across a problem I couldn't solve: how to paste text in an existing text layer when the user is editing the text? Using evalScript and app.activeDocument.paste(); works fine when pasting copied pixels as a new layer, but if the user is on a text layer editing the text (and I want the extension to paste text there), it throws an evalScript error.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Am I doing something terribly wrong or what? The next thing I thought was to invoke paste event and try it that way.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:14a6c90a-bd2f-4943-bc73-f8c0c013b6f9] --&gt;&lt;img src='/beacon?t=1415939179936' /&gt;</description>
      <pubDate>Thu, 14 Aug 2014 06:19:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6639158?tstart=0#6639158</guid>
      <dc:date>2014-08-14T06:19:37Z</dc:date>
      <clearspace:dateToText>3 months 15 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

