feat: AI套图分层方案 + Gemini集成 - 4种图案类型处理 + 正片叠底 + 宽高比 + 模型选择
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
16
PSMARK代码块/拼合所有文档.jsx
Normal file
16
PSMARK代码块/拼合所有文档.jsx
Normal file
@@ -0,0 +1,16 @@
|
||||
function 删除图层3()
|
||||
{
|
||||
app.activeDocument.suspendHistory("Combine all masks", "拼合所有蒙版()");
|
||||
}
|
||||
|
||||
|
||||
function 拼合所有蒙版() //拼合所有蒙版
|
||||
{
|
||||
|
||||
var d = new ActionDescriptor();
|
||||
var r = new ActionReference();
|
||||
r.putEnumerated(stringIDToTypeID("document"), stringIDToTypeID("ordinal"), stringIDToTypeID("targetEnum"));
|
||||
d.putReference(stringIDToTypeID("null"), r);
|
||||
executeAction(stringIDToTypeID("e805a6ee-6d75-4b62-b6fe-f5873b5fdf20"), d, DialogModes.NO);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user