(function() { sel = app.selection; if (sel instanceof Array && sel.length > 1) { var n = +app.sendScriptMessage("OnegaiSDK", "getKeyObject", ""); if (n > -1) { var layer0 = sel[n].layer; for (var i = n - 1; i >= 0; i--) { if (sel[i].layer != layer0) sel[i].move(layer0, ElementPlacement.PLACEATBEGINNING); } for (var i = n + 1; i < sel.length; i++) { if (sel[i].layer != layer0) sel[i].move(layer0, ElementPlacement.PLACEATEND); } } } })();
プロフィール
最近の記事