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

Updating Layer Markers

Community Beginner ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

I need to update Layer Markers from the source using extended script. I was earlier using the following

 

var activeItem = app.project.activeItem;

var bodyComp = app.project.items[6];

bodyComp.openInViewer();

var selectedLayer = bodyComp.layers[7];

selectedLayer.selected = true;

app.executeCommand(2539);

 

For this to work the GUI needs to remain open. Im using aerender.exe to render and want to execute the jsx using it. I don’t want the GUI to remain open. Is there any other way of updating the layer marker from the source. E.g. Audio Layer marker from audio source file.

TOPICS
Expressions , Scripting

Views

59

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
LEGEND ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

LATEST

There's no way around it. You have to use the full UI.

 

Mylenium

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