Activity › Forums › Adobe After Effects Expressions › Toggle transparency
-
Toggle transparency
Posted by Stanley Castello on April 18, 2022 at 8:08 pmCan someone tell me why this wouldn’t work?
function turnTransparency(){
var trans = app.project.transparencyGridThumbnails;
trans = true;
turnTransparency();
};
Stanley Castello replied 4 years, 4 months ago 3 Members · 9 Replies -
9 Replies
-
Dan Ebberts
April 18, 2022 at 8:17 pmIt doesn’t really do anything and calls itself endlessly. Maybe you meant this:
function turnTransparency(){
app.project.transparencyGridThumbnails = true;
}
-
Stanley Castello
April 18, 2022 at 9:08 pmI doesn’t turn the transparency on at all.
I do see that it turns the transparency on in the in the project panel window but not the main composition viewer. Really odd.
-
Dan Ebberts
April 18, 2022 at 9:19 pmThat’s correct, I think it just affects the transparency of thumbnails in the project panel.
-
Filip Vandueren
April 19, 2022 at 11:59 amWalter Soyka knows of a way to toggle the transparency grid:
https://creativecow.net/forums/thread/toggle-transparency-grid-shortcut-in-after-effects-2/
-
Stanley Castello
April 19, 2022 at 1:48 pmIt looks like the code is encrypted. Some of those instructions links are dead 🙁
-
Filip Vandueren
April 19, 2022 at 2:16 pmHe’s on the After Effects forum.
If you make a donation and ask him nicely, he might show you the trick 🙂Or just run his script from your script.
-
Stanley Castello
April 19, 2022 at 2:45 pmI am on a Mac, do you know how to run the script from UI panel? I used app.executeCommand but doesn’t work
Reply to this Discussion! Login or Sign Up