Answered
Apply Graphic Style to selection?
I tried but get "Undefined is not an Object". What am I doing wrong?
var doc = app.activeDocument;
var gStyle = doc.graphicStyles.getByName("R1_C1");
gStyle.applyTo.doc.selection;
I tried but get "Undefined is not an Object". What am I doing wrong?
var doc = app.activeDocument;
var gStyle = doc.graphicStyles.getByName("R1_C1");
gStyle.applyTo.doc.selection;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.