Line 42 is where I'm setting the size.
Line 27 is where the variable is defined. I've tried just punching in an integer with the same results.
Thank you for any help.
I'm no script master by any stretch of the imagination, but I find it odd that this script works properly on Adobe CS6, but does not modify the font size correctly on Adobe CC. I'd expect that same results. If any of you come up with anything please let me know. Cheers.
//START OF THE SCRIPT
var defaultRulerUnits = preferences.rulerUnits;
preferences.rulerUnits = Units.PIXELS;
var AD = activeDocument ;
theSize = 53;
var TextLayer = AD.artLayers.add();
TextLayer.kind = LayerKind.TEXT;
TextLayer.opacity = 90;
var txtRef = TextLayer.textItem;
txtRef.font = "Impact";
txtRef.contents = theSize; //The defined size of 53 is reflected accurately in CS6 but when this script is ran on CC it is not. Sometimes it's 12, sometimes it's 2.88.
txtRef.size = theSize;
//END OF THE SCRIPT
^I'm saving this as a .JS
Message was edited by: Clayton Krause