0 Replies Latest reply on Aug 13, 2014 11:19 PM by hphaavikko

    Pasting text into a text layer in Photoshop CC 2014


      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.


      Am I doing something terribly wrong or what? The next thing I thought was to invoke paste event and try it that way.