首先,需要用到的这个工具:
提取码:qwu2
提取码:2r1z
这里做AE(Adobe After Effact)里的脚本规则,把英文替换成中文,如下
swap= thisComp.layer(“Segment settings”).effect("%")(“Checkbox”);
if(swap==true){s=thisComp.layer(“Segment settings”).effect(“Segment 1”)(“Slider”)
Math.round(s)*1+"%"}else{s=thisComp.layer(“Segment settings”).effect(“Segment 1”)(“Slider”)
Math.round(s)*1}
swap= thisComp.layer(“Segment settings”).effect("%")(“复选框”);
if(swap==true){s=thisComp.layer(“Segment settings”).effect(“Segment 1”)(“滑块”)
Math.round(s)*1+"%"}else{s=thisComp.layer(“Segment settings”).effect(“Segment 1”)(“滑块”)
Math.round(s)*1}
1、打开工具,进入文字替换模块,写好规则,然后在该规则上右键,点击“以此参照执行”,注意,不要关闭工具,需要使用工具的快捷键
2、回到AE,把对应的脚本代码全选复制一下Ctrl+C
3、然后按下Ctrl+Shift+R,此时已经已经批了替换完毕,再Ctrl+V粘贴
标签:layer,AE,settings,effect,快捷键,thisComp,Segment,替换,Math From: https://www.cnblogs.com/Nathan-Young/p/18191163