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

copy smart object, paste in new doc, no longer smart

Explorer ,
Aug 03, 2016 Aug 03, 2016

Copy link to clipboard

Copied

Here is the relevant part:

app.activeDocument = backArt;

var backDesign = backArt.activeLayer;

backDesign.copy();

app.activeDocument = backTemp;

app.activeDocument.paste();

If the layer I copy is a smart object, it no longer is when pasted.  Is there some way to modify this or otherwise effectively copy and paste a layer that is a smart object?

TOPICS
Actions and scripting

Views

253

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

correct answers 1 Correct answer

Explorer , Aug 03, 2016 Aug 03, 2016

Never-mind.  I was able to solve the problem by using duplicate instead of copy.

Votes

Translate

Translate
Adobe
Explorer ,
Aug 03, 2016 Aug 03, 2016

Copy link to clipboard

Copied

Never-mind.  I was able to solve the problem by using duplicate instead of copy.

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
LEGEND ,
Aug 03, 2016 Aug 03, 2016

Copy link to clipboard

Copied

LATEST

Just in case you'd like to duplicate it to other document and you wouldn't know how:

activeDocument.activeLayer.duplicate(documents[1].activeLayer, ElementPlacement.PLACEBEFORE)

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