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?
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?
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