Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

How to show transform property by scripting

Explorer ,
Jan 02, 2024 Jan 02, 2024

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

TOPICS
FAQ , How to
403
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 02, 2024 Jan 02, 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.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 02, 2024 Jan 02, 2024

Thanks you so much, that was very helpfull.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 05, 2024 Jan 05, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 03, 2024 Jan 03, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 05, 2024 Jan 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 26, 2024 Jan 26, 2024
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines