Scripts that worked before the update are now broken, and text layers created via script are all 12px. See this simple script:
var docRef = activeDocument; var TextLabel = docRef.artLayers.add(); TextLabel.kind = LayerKind.TEXT; TextLabel.name = "Test"; TextLabel.textItem.contents = "This text should be 50pt"; TextLabel.textItem.size = new UnitValue("50 points"); // other variations, such as TextLabel.textItem.size = 50 also fail. TextLabel.textItem.font = "Monaco";
Any help? Thanks.