Hi, what am I doing wrong please guide me?
I need to get the values of the keyframes, but I can't even get the presence of the keys
var project = app.project;
var projectItem = project.rootItem;
var activeSequence = project.activeSequence;
var videoTracks = activeSequence.videoTracks;
var trackOne = videoTracks;
var clip = trackOne.clips;
var components = clip.components;
var param = components.properties;
var time = app.project.activeSequence.getPlayerPosition();
Your snippet doesn't test for whether there actually is an active sequence...and what makes you sure that clip.components is what you want?
Here's PProPanel, accessing and manipulating keyframes: https://github.com/Adobe-CEP/Samples/blob/2cd368a84e86e9f5c85ad403140a09aaadbb4fd4/PProPanel/jsx/PPR...
I'm sure since I was looking for a way to do this, via displayName.
Thanks for the link. I'll try to figure it out.
The question remains open. What did I do wrong?
And regarding PProPanel, does it need to be installed?
I tried to do it, placed it in the required folder, changed the register. But when I try to run it from PP, nothing happens
It sounds like you don't have PlayerDebugMode enabled; see the PProPanel readme for configuration.
If you can't see PProPanel in PPro, I presume you're sending ExtendScript to PPro via the ExtendScript Debugger extension for VSCode, yes?
Also: No, you don't have to install PProPanel, but the code I referenced successfully accesses and manipulates keyframes, and should serve as a good starting point.
PlayerDebugMode enabled, I edited the registry. The panel is available in PP. But she won't start
By "won't start", do you mean "won't display"?
Have you restarted Windows since making that registry change?
The behavior in that video is exactly what I'd expect, if PlayerDebugMode is not set for
It doesn't work the same. I changed the parameters in CSXS.11, rebooted the PC, the panel does not respond
This should have been done in CSXS10
Thank you. I will try to use it
Do I understand correctly that I don't have the ability to manipulate Path Shape keys in Premiere?
I'm not sure.
It looks like you were right about component being the Shape vector; have you walked across those param streams, for keyframes?
In the screenshot above, I used PPro Panel - key manipulation
At the very beginning, yes, I went step by step looking for the parameter I needed.
I have not been able to get information about the keys
>I have not been able to get information about the keys
You already have each of the parameter streams (Position/Scale/Scale Width/...); from there, you can follow the example code provided in PProPanel, that accesses and modifies keyframes for those param streams.
I appreciate the time you took to answer me. But I need transformation parameters. I was interested in the ability to edit shape path keys
>I was interested in the ability to edit shape path keys
How is that different from "accessing the param streams behind the Shape parameter", as described above?
It's strange that you ask this.
Path is the shape of the shape, vertex, etc.
General transformation parameters, not the same
It seems I misunderstood your request; if the information you need is not available via the component param streams described [above], then it is not currently available via the ExtendScript API.
Thanks for putting me through this path and helping. It's valuable. take care of yourself