I am creating a script to distribute to users.
The package contains 1 script and a graphic style library that is required to apply a 3d effect in the script.
Is there a way to open the graphic style library from the script?
The script and library will both be located in the Adobe Illustrator Presets.
I am trying to reduce the amount of actions required by the user so that they only need to run the script without having to open the graphic style library first.
Below code occurs error: target layer cannot be modified
But no unvisible or locked layer
var style = app.activeDocument.graphicStyles.getByName("Jive_GS");
style.applyTo(myvector);