Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Is there a way to show the transparency grid in Extendscript?

$
0
0

I was able to find "transparencyGrid" in the OMV and documentation, although it looks like it's only for new documents, and only logs color. I like all my files to open with the transparency grid showing, and would like to be able to batch this in a smart fashion. Currently I have it toggling the grid, but if it's already transparent it toggles it to white.

 

THE BELOW WILL NOT WORK, but here's a scripting example of what I'd like to be able to do:
if(app.activeDocument.transparencyGrid.visible == FALSE) app.activeDocument.transparencyGrid.visible = TRUE;

 

Not sure if this option exists anywhere, or if I'm looking in the wrong place, but this would be a great help to me. Thanks in advance!


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>