Copy link to clipboard
Copied
Hi,
I wondering how to collapse or show a certain transform property for a layer though scritpting in after effects, for example how to show opacity property like if i hit the (T) from keyboard or position (P)?
Copy link to clipboard
Copied
You can't really do this.
You can use this function to show a property.
Show a property using Extendscript
And to collapse the property, you need to duplicate the layer and delete the original layer.
Copy link to clipboard
Copied
Thanks you so much, that was very helpfull.
Copy link to clipboard
Copied
I've tested this, and it does work, but it takes time, especially when dealing with numerous layers. Additionally, the orange message is quite annoying. Hopefully, Adobe will address this issue in a future update.
Copy link to clipboard
Copied
In After Effects scripting, you can show or collapse a specific transform property for a layer using the property name command, where "Property Name" represents the property you want to manipulate, such as "Opacity" or "Position". Adjusting this property allows you to toggle its visibility similar to using keyboard shortcuts like (T) for opacity or (P) for position. For detailed code examples and implementation, refer to the Adobe community thread on scripting specific property visibility in After Effects.
Copy link to clipboard
Copied
Unfortunately, I couldn't find a strict way to accomplish this. If you have a link to anything that can help, please share it. Thanks.
Copy link to clipboard
Copied
hi, maybr you can write other script like vbs and run it by ae script "system.callSystem"?, we cant only use ae script.