• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How ot duplicate layer to the new document?

New Here ,
Dec 22, 2008 Dec 22, 2008

Copy link to clipboard

Copied

This code provide duplicate the layer in the current document.
It must some keyTo param. but what arguments is?

Auto_Ref docRefs;
Auto_Desc docDescs;
Auto_Desc results(false);
error = sPSActionReference->PutIdentifier(docRefs.get(),
classLayer,
LayerID);
error = sPSActionDescriptor->PutReference(docDescs.get(),
keyNull,
docRefs.get());
error = sPSActionControl->Play(&result,
eventDuplicate,
docDescs.get(),
plugInDialogDontDisplay);
TOPICS
SDK

Views

841

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
New Here ,
Dec 26, 2008 Dec 26, 2008

Copy link to clipboard

Copied

Anybody know's what argument for the keyTo. there is no information in SDK and in a google (

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2009 Jan 09, 2009

Copy link to clipboard

Copied

please, anyone?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 19, 2009 Jan 19, 2009

Copy link to clipboard

Copied

LATEST
Not sure what you are looking for as an answer. If you are looking about info on how to properly construct the eventDuplicate I would use the Listener plug-in and look at the log files to figure out what key/value to use in your Play command.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines