If quoteLayer is a LayerSet wouldn’t it have to be
for(n=0; n<quoteLayer.layers.length; n++){
if(quoteLayer.layers[n].kind == LayerKind.TEXT) {
?
If quoteLayer is a LayerSet wouldn’t it have to be
for(n=0; n<quoteLayer.layers.length; n++){
if(quoteLayer.layers[n].kind == LayerKind.TEXT) {
?