NICE! Thanks! Also, new to these forums, how do I post script properly?
I had figured out a work around piecing together Adobe’s examples on their website which involved excluding various properties from the copied style but yours is much more concise, haha.
var newStyle = thisComp.layer(“Layer 1”).text.sourceText.style;
var matchText = thisComp.layer(“Layer 1”).text.sourceText;
var currentFillColor = thisProperty.style.fillColor;
var currentStrokeOn = thisProperty.style.applyStroke;
var currentStrokeWidth = thisProperty.style.strokeWidth;
var currentStrokeColor = thisProperty.style.strokeColor;
newStyle.setText(matchText)
.setFillColor(currentFillColor)
.setApplyStroke(currentStrokeOn)
.setStrokeWidth(currentStrokeWidth)
.setStrokeColor(currentStrokeColor);