【发布时间】:2013-12-10 20:25:03
【问题描述】:
您好,我想知道是否有人可以帮助我编写一个 Photoshop 脚本来显示数字并逐步保存文档?
到目前为止,我已经到了这里:
if(app.documents.length != 0){
var doc = app.activeDocument;
for(i = 0; i < doc.artLayers.length; ++i){
var layer = doc.artLayers[i];
if(layer.kind == LayerKind.TEXT){
layer.textItem.contents = 1;
layer.textItem.size = 20;
}
}
}
但是我在编写带有增量的内容时遇到了麻烦。我希望它使我的文档上的页码增加 1。
【问题讨论】:
标签: javascript photoshop photoshop-script