Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
I'm sure you could do something like the following;
if (DocumentTransparencyGrid.TransparencyGridNone == true)
{
DocumentTransparencyGrid.TransparencyGridDark
}
Copy link to clipboard
Copied
Unfortunately, it doesn't. The OMV mentions it's only for new video files.
Copy link to clipboard
Copied
iamwickedtall1 wrote:
transparency grid -> Currently I have it toggling the grid, but if it's already transparent it toggles it to white.
So what are you using for the toggle code that is half working? Show that.
------------
I don't have CS6 to verify it, but If you are using CS6 and above you can try something like below, using executeMenuCommand:
app.executeMenuCommand('TransparencyGrid Menu Item');
If it works, then it would toggle to the opposite state every time its called, just like accessing the menu in the IDE.