我已将选区保存为名为“圈子”的频道。 我想将此选择作为图层蒙版应用于所有图层
这是我到目前为止的脚本
tell application "Adobe Photoshop CC 2015.5"
activate
set theDOC to the current document
tell theDOC
set totalLayers to count each layer
repeat with indice from 1 to totalLayers by 1
tell layer indice
-- load the channel
tell theDOC
load selection of it from channel "circle" of it
end tell
-- I now need a magic command to apply the "circle" selection that is active now, to the current layer as a layer mask, inside this loop
end tell
end repeat
end tell
end tell
答案 0 :(得分:0)
经过深入研究后,我得出结论,由于Adobe的原因,没有办法做到这一点。我的解决方案是:
使用
在循环内调用该操作采取行动"掩盖"来自"默认操作"
mask
和Default Actions
,并设置操作的存储位置。享受。