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

Make Composition window custom UI always visible

Explorer ,
Sep 16, 2023 Sep 16, 2023

A custom UI over the Composition/Layer window can be hidden with Cmd+Shift+H (View->Show Layer Controls). I want to ensure that it is always visible, either even when that setting is false, or by setting it to true, maybe with a script. Is there any way to do either of those things?

TOPICS
SDK
118
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
Community Expert ,
Sep 19, 2023 Sep 19, 2023
LATEST

i don't see a way of changing that button state, or even reading it. not through the SDK, nor the javascript interface.

however... if there's a menu command for that, you can trigger it!

according to https://hyperbrew.co/blog/after-effects-command-ids/ , the command number to "show layer controls" is 2435. you can invoke it using AEGP_DoCommand(). you can also check the state of that menu entry using AEGP_CheckMarkMenuCommand().

it would be wise to check for the command number during global setup using javascript and app.findMenuCommandId("ShowLayerControls"), to ensure future compatibility in case the command id changes. (that happens from time to time...)

yay! perhaps it's possible after all!

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