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

A script to collapse property group in effect control - After Effects - Please help !!

Explorer ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

Hey there

I am new here ..

I am working on a script to collapse panels of property group in Effect control but the problem I search alot about a collapse command ID, methods in property group object and no solution and the command I found work only on property group - layers in Timeline and not effect control .

myLayer.selected = true;

app.executeCommand(2771);

Please Hep !!!!

TOPICS
Scripting

Views

1.4K

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

correct answers 1 Correct answer

Community Expert , Feb 26, 2020 Feb 26, 2020

One altrnative that might help, depending on your situation, is to duplicate the effect control, delete the original, and rename the new one to the old name.

Votes

Translate

Translate
Valorous Hero ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

The Right Arrow key collapses while the Left Arrow kew uncollapses.

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

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
Advocate ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

There's not much one can help you with.

The only way to collapse properties is by using the command ID you have in your script.

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
Community Expert ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

One altrnative that might help, depending on your situation, is to duplicate the effect control, delete the original, and rename the new one to the old name.

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 ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

Thanks All for your help...

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
New Here ,
Nov 07, 2022 Nov 07, 2022

Copy link to clipboard

Copied

LATEST

Hi, it's 2 years too late, but it can help other people.

You can try to execute the command twice. The first finish to expand the properties, and the second collapse it. I had the same problem and it worked for me.

 

app.executeCommand(2771);
app.executeCommand(2771);

 

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