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

Auto Clipping mask problem

Explorer ,
Sep 08, 2020 Sep 08, 2020

Copy link to clipboard

Copied

Screenshot 2020-09-08 at 11.15.52 PM.png

When i paste photo between this two layers (Normal layers and clipping mask) photo automatically converted to clipping mask.

but i want middle layers should be  normal layers for action record. i tried all ways i know but action not recorded same.

TOPICS
Actions and scripting

Views

625

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

People's Champ , Sep 09, 2020 Sep 09, 2020
Use this code after selecting the base layer and before the Paste command
var d = new ActionDescriptor();
var r = new ActionReference();
r.putClass(stringIDToTypeID("layer"));
d.putReference(stringIDToTypeID("null"), r);
var d1 = new ActionDescriptor();
d1.putBoolean(stringIDToTypeID("group"), false);
d.putObject(stringIDToTypeID("using"), stringIDToTypeID("layer"), d1);
executeAction(stringIDToTypeID("make"), d, DialogModes.NO);

Votes

Translate

Translate
Adobe
People's Champ ,
Sep 08, 2020 Sep 08, 2020

Copy link to clipboard

Copied

Unclear. Give a screenshot of what you want to get. Perform the necessary steps manually.
 

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
Explorer ,
Sep 09, 2020 Sep 09, 2020

Copy link to clipboard

Copied

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 ,
Sep 09, 2020 Sep 09, 2020

Copy link to clipboard

Copied

What step you want to record? Step to create clipping mask or something else? You must elaborate as already asked in details what are you trying to do in order someone to be able to help you. Please describe what are you doing step by step and what is your end goal, what you want to achieve or record in action.

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
Explorer ,
Sep 09, 2020 Sep 09, 2020

Copy link to clipboard

Copied

https://youtu.be/D4H2yYhLndY

 

 

please check this video

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 ,
Sep 09, 2020 Sep 09, 2020

Copy link to clipboard

Copied

Should the Clipping Mask be released altogether, should the pasted Layer become theh new base Layer of the Clipping Mask, …? 

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
People's Champ ,
Sep 09, 2020 Sep 09, 2020

Copy link to clipboard

Copied

Use this code after selecting the base layer and before the Paste command
var d = new ActionDescriptor();
var r = new ActionReference();
r.putClass(stringIDToTypeID("layer"));
d.putReference(stringIDToTypeID("null"), r);
var d1 = new ActionDescriptor();
d1.putBoolean(stringIDToTypeID("group"), false);
d.putObject(stringIDToTypeID("using"), stringIDToTypeID("layer"), d1);
executeAction(stringIDToTypeID("make"), d, DialogModes.NO);

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
Explorer ,
Sep 09, 2020 Sep 09, 2020

Copy link to clipboard

Copied

Thank you sir.

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
Explorer ,
Sep 09, 2020 Sep 09, 2020

Copy link to clipboard

Copied

LATEST

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