LoginSignup
0
0

More than 5 years have passed since last update.

AE シェイプレイヤーの塗りにエクスプレッションを一括で適応 +ラベルの色も変更

Last updated at Posted at 2018-03-13

メモ用です。

プロパティを持っている状態で


//選択アイテムをselItemとする
var selItem = app.project.selection[0];
//選択レイヤーをselLayとする
var selLay=selItem.selectedLayers;

app.beginUndoGroup("undo");//アンドゥグループ開始
for(var i=0; i<selLay.length; i++){
        var myLay=selItem.selectedLayers[i];
        myLay.property("ADBE Root Vectors Group").property("ADBE Vector Group").property("ADBE Vectors Group").property("ADBE Vector Graphic - Fill").property("ADBE Vector Fill Color").expression='thisComp.layer("調整レイヤー 3").effect("カラー制御")("カラー")';
        myLay.label=(1)
        }
    app.endUndoGroup();//アンドゥグループの終わり

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0