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

Créer une action pour copier un masque d'un calque sur un autre

New Here ,
Mar 26, 2023 Mar 26, 2023

Je cherche, par une action, à copier le masque d'un calque sur un masque d'un autre calque... à chaque fois, l'action me crée un autre calque avec ce masque (le cliquer glisser pas faisable non plus par une action...)

Une idée ?

Merci

TOPICS
Actions and scripting , macOS
1.1K
Translate
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 26, 2023 Mar 26, 2023

Can you upload before/after screenshots of the layers panel? A sample file would also be helpful for testing

 

You wrote (translated via forum software, so something may have been lost):

 

copy the mask of one layer on a mask of another layer... Each time, the action creates another layer with this mask

 

The red text indicates that there is an existing layer that you wish to copy the mask to.

 

While the text in blue indicates that a new layer should be created.

 

These points possibly contradict each other, so can you clarify what is actually required?

Translate
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
Mentor ,
Mar 26, 2023 Mar 26, 2023

Click once on the mask on the layer to make it active. Hold alt key and drag to the desired layer.

Translate
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 26, 2023 Mar 26, 2023

Do you want to ask how to record Photoshop action to copy layer mask from one layer to layer above or another layer or you are asking how to copy mask manually from one layer to another.

For the first case scenario I have idea, it is screenshoted below.

how to copy mask from layer to above layer.jpg

For the second case scenario to manually duplicate mask from one layer to another use @jazz-y suggestion.

Translate
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
Mentor ,
Mar 26, 2023 Mar 26, 2023

@Bojan Živković, using actions, we can create a copy of the mask in the way i described (in one command). As we can see from the parameters, the mask of another layer is assigned to the current layer. The only condition is that before copying, you need to select the target layer (without a mask).

2023-03-27_09-08-52.png

 

we can also create a new mask on the target layer and copy the existing mask using the Apply Image command:

2023-03-27_09-44-17.png2023-03-27_09-44-32.png

 
 

 

 

Translate
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 27, 2023 Mar 27, 2023

Problem with first option, in my opinion is "Layer 0".

Great tip to use Apply Image but still there is "L" layer what is disadvantage in my opinion because action will always look for layer named "L". My example can be used with any two layers one above another where bottom layer has layer mask regardless of naming convention.

Translate
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 ,
Mar 27, 2023 Mar 27, 2023
LATEST

OK Bonja, Thanks ! The solution with "apply an image" is very effective.

Translate
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