Search found 2 matches
- August 19th, 2018, 1:59 am
- Forum: Scripts Discussion
- Topic: Script to set expression on property
- Replies: 1
- Views: 12750
Re: Script to set expression on property
Fixed it. Was missing a return statement, duh! Code if anyone wants it: var layers = new Array(); var props = new Array(); var propsFilter = new Array(); //get selection layers = app.project.activeItem.selectedLayers; //loop through layers for (i = 0; i < layers.length; i++){ var lyr = layers[i]; //...
- August 18th, 2018, 4:43 am
- Forum: Scripts Discussion
- Topic: Script to set expression on property
- Replies: 1
- Views: 12750
Script to set expression on property
Hi all, first time posting so firstly thanks for all the help I've already found on here, hopefully you might be able to help with my next issue. I'm creating my first script, which is designed to apply an expression to all "Stroke Width" properties of multiple selected layers. The trouble...