メモ用です。
プロパティを持っている状態で
//選択アイテムを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();//アンドゥグループの終わり