I can create text layers and add text to them but do not know how to add a stroke to the layer in javascript. As usual help appreciated
Mike
Code: Select all
(aD = activeDocument).activeLayer
.rasterize(RasterizeType.TEXTCONTENTS);
(col = new SolidColor()).rgb.hexValue = '000000'
aD.selection.stroke(col, 1, StrokeLocation.CENTER,
ColorBlendMode.NORMAL, 100, false)