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

placedLayerReplaceContents AND newPlacedLayer in javascript ref

Engaged ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

I'm unable to find a javascript reference to placedLayerReplaceContents AND newPlacedLayer.  Where might they exist?

RONC

TOPICS
Actions and scripting

Views

1.1K

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
Community Expert ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

One can use ScriptingListener.plugin to record the Action Manager code.

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
Engaged ,
Mar 20, 2017 Mar 20, 2017

Copy link to clipboard

Copied

Thanks for the response.  Using listener is how got what I have now.

There seems to be a number of items that are missing documentation in jsx.

I appreciate your help.

RONC

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
Community Expert ,
Mar 21, 2017 Mar 21, 2017

Copy link to clipboard

Copied

LATEST

If you mean that some Photoshop functionality is not being represented in Photoshop’s Document Object Model then you are right.

That’s the way it is and using AM-code can become inevitable at some point.

But the upside is that AM is usually faster than DOM, so there are additional benefits.

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