Activity › Forums › Adobe After Effects Expressions › Script tot enable/disable expressions
-
Script tot enable/disable expressions
Posted by Dotan Stern on April 11, 2009 at 11:56 amIm looking for a script to enable or disable expressions of selected layers is there one that can do that?
thanxMac Ward replied 16 years, 9 months ago 4 Members · 6 Replies -
6 Replies
-
Filip Vandueren
April 11, 2009 at 2:44 pmI wrote one, based on gimmeprops,
here it is:https://www.vandueren.be/forumstuff/scripts/FV%20all_expressions-switch.jsx
I haven’t tested this extensively but it should work, and has Undo capability.
you get a prompt:
type ‘true’ to enable all expressions,
anything else (false…) will disable all expressionsall expressions on selected layers, that is.
-
Dotan Stern
April 11, 2009 at 3:34 pmThanx man that works great
are you going to work on in and make it with buttons that is easier to use?
if not is there another expression that works this way but one with a palette that i can use when i need it and not run the script every time i wanna use it
thanx again -
Filip Vandueren
April 11, 2009 at 4:58 pmSorry,
I’m not that good at scripting, and especially making User Interface panels is a real pain IMO.
-
Danny Parsons
April 13, 2009 at 8:06 pmHi guys,
This sounded like a really useful idea, so I took the liberty of having a quick go at mashing Filip’s code together with a few UI-based script examples, and came up with a simple little palette with a [=] button and a [≠] button.
There are probably more concise/ elegant approaches than the one I took, but it is working… kind of…
It will work as either a floating palette, or as a dockable panel (when placed in the “ScriptsUI” folder and launched from the window-menu). However, if it is already docked to the workspace when restarting AE – or even just opening a different project – it seems to stop working. (It will either display the “no comp selected” alert, even though there is one selected – or it will just become unresponsive). In either instance, simply relaunching the script seems to do the trick.
I’ve uploaded the current version to a drop io “drop”, and set up the permissions so that anyone can upload revisions if they think they know how to fix this problem, or have any other ideas to improve it in any way (I’m still very new to this whole scripting business!)
Here’s the link: https://drop.io/Express_On_Off
Password: cowCheers,
DP
-
Dotan Stern
April 21, 2009 at 11:57 amThanx mate
very usefull hope someone can fix the problem with the dock panel
Reply to this Discussion! Login or Sign Up