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

17

Likes

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 ,
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

Likes

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