2 Replies Latest reply on Apr 28, 2018 4:03 AM by JJMack

    Can't paste text in input field

    bena10018036 Level 1

      Hey. Basicly I have a window with a button. When i push this button a new window opens up (the old one doesn't close)


      In in this new window there is an input field. And when I copy something from my clipboard i get the following message. "the command paste is not currently available"

      However if I type it it works.  What did I miss? Do I need to activate pasting in input fields or something?

        • 1. Re: Can't paste text in input field
          Chuck Uebele Adobe Community Professional & MVP

          Paste in Photoshop scripting just is for pasting into an actual Photoshop file, and not the OS paste, which will paste into UI text fields. What are you trying to do that requires you to paste into a UI text field?

          • 2. Re: Can't paste text in input field
            JJMack Most Valuable Participant

            Did you copy some Text into the clipboard or an image.   Photoshop Paste would expect a image in the clipboard if you used Photoshop edit  Paste.  If you copied text to the clipboard I do not know how you would be able to get that txt into a Photoshop text layer. You should post your script so we can see what you have coded a new window with an input filed  I would think you would have to use the shortcut Crtl+V to copy the text into that input files.  Photoshop menu edit paste will not do that