Skip to main content
Inspiring
January 2, 2024
Question

How to show transform property by scripting

  • January 2, 2024
  • 2 replies
  • 664 views

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)?

This topic has been closed for replies.

2 replies

Participating Frequently
January 3, 2024

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.

Inspiring
January 5, 2024

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.

Known Participant
January 26, 2024

hi, maybr you can write other script like vbs and run it by ae script "system.callSystem"?, we cant only use ae script.

Legend
January 2, 2024

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.

 

 

Inspiring
January 3, 2024

Thanks you so much, that was very helpfull.