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

Hide/Show properties with script

Explorer ,
Apr 19, 2023 Apr 19, 2023

Copy link to clipboard

Copied

Hi, Is there a way to show/hide properties of a layer like hotkey S,T,A,P? Thank !!!

Ryan_Doyle_0-1681902563013.png

 

 

TOPICS
Scripting

Views

370

Translate

Translate

Report

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
Participant ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

Not natively but you can with a rather elaborate workaround. Here's how I do it:

 

Remove all keyframes on all properties on the layer, then set a keyframe at your desired properties, now execute AE's command to reveal properties with keyframes: app.executeCommand(2387). Afterwards, close your current undo group and undo everything you just did with AE's undo command: app.executeCommand(16). You'll see that the revealed properties still show up in the timeline. This is because certain things in AE's layout cannot be undone with the undo command (which is great for this specific case).

(I'm rather using 'Undo' instead of recreating the keyframes because you cannot store the information for certain keyframes with custom values, e.g. on the 'Curves' effect.)

 

Some time ago I implemented this type of workaround in a script someone suggested here on the forums. You can check it out here:

https://community.adobe.com/t5/after-effects-discussions/how-to-keep-layer-properties-tab-open-after...

Votes

Translate

Translate

Report

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 ,
Apr 20, 2023 Apr 20, 2023

Copy link to clipboard

Copied

LATEST

thank you !

Votes

Translate

Translate

Report

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