Problem with Paste command in CS5 Panel

General Discussion of Scripting for Flex, Flash & CS SDK

Moderators: xbytor, DavideBarranca, Paul MR


Problem with Paste command in CS5 Panel

Postby JuanjoClausell » Wed Sep 28, 2011 10:05 am

Hello everybody, this is my first post, I hope I can help others with time, but now I´m stuck with this and I need help.

I´m developing a Panel for CS5 that copies a selection of an image (this include RGB or CMYK plus any alpha channel) and paste it in a new document (with the correct number of alpha channels).

I make it with a pure script and it works perfect, but when I try it with a Panel (Flash builder 4.5, PS 5.5, Flex 3.4, CSXSLibrary-2.0-sdk-3.4-public.swc), the panel throws an exception when I try to paste de data from the clipboard.

-Command "Paste into" not available.

Code: Select;

app.activeDocument = gDocRefSeg;


    alert("Error " + err.description;);

Apologize my english.

Thanks in advance.

Edit: Oops! I think I fail with the right placement of this thread, Would any admin move this to the help sub-forum. Sorry.


Problem with Paste command in CS5 Panel

Postby Reinaldo » Sat Mar 17, 2012 2:34 pm

Hi Juanjo,
i´m taking the same problem with scripts and panel.
Did you discovery how solve this?


Return to “Flex, Flash & CS SDK: General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests