Hey Al,
welcome to the idea of scripting world! To begin with, this is as simple as:
[propertyPath].expression = "expression goes here";
Which, in full scripting language would look something like this:
app.project.item(1).layer("Shape Layer 1").property("ADBE Root Vectors Group").property("ADBE Vector Group").property("ADBE Vectors Group").property("ADBE Vector Graphic - Stroke").property("ADBE Vector Stroke Width").expression = "time*5"
Now with further digging into this – you would need to do the following:
1. Select the layer to process.
2. Run FOR loop to skim through shape’s contents, to find out which has strokes, etc.
3. Apply expressions to the ones which does.
To make your life a lot easier, download this script called GimmePropPath. Run the script, select property you want to access and hit ‘Get Property Path’. This will give you a sense how to reach items and from that point, it will be easier.
BUT, you still need to understand the whole hierarchy of items through scripting. So take this shortcut as a helper, not a full lead 🙂
Find out more:
After Effects Tutorials: motion design, expressions, scripting.
Boxer – Dynamic Text Boxes Template with a Live Preview
Social Media Profiles